-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LightmapGI: Freeze when trying to bake with custom UV2 #63423
Comments
I can confirm this on v4.0.alpha.custom_build [20d7171] with the MRP and with my own meshes. Attached a log for the MRP: |
I'm unable to reproduce this on latest commit (e3e2528). The scene is also not lit for some reason despite the directional light being enabled. It is able to bake however. Are the normals of the scene broken or something? The debug view does not look correct at all. |
Baking works fine on my end as of 4.3.beta 97b8ad1, although there's some visible UV bleeding on the beveled boxes once lightmaps are baked (likely expected given the custom UV2 layout). |
4.0 to 4.3 project conversion creates some oddities so I rebuilt the project with the same GLB mesh file. Now the reverse seems to be happening. customlightmapbugv2.zip EDIT: This was on 4.3 Beta 3. I haven't tried that newer build yet, will test tomorrow. |
Can confirm this still happens on 97b8ad1. Updated project file with new mesh: |
Godot version
4.0 Alpha 12
System information
Windows 10, GTX1080, i7 6700
Issue description
Godot will freeze on the following screen while trying to bake a mesh with a pre-unwrapped custom UV2 layout (in this case, 3 meshes in an inherited scene).
Objects were imported as "static", not "static lightmaps" since that setting will overwrite any custom lightmaps.
This works fine in 3.4 with import set to "Light baking: enable".
Steps to reproduce
Minimal reproduction project
CustomLightmapBug.zip
The text was updated successfully, but these errors were encountered: