-
-
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
BakedLightmap crashes when baking in a large scene with hundreds of 3D objects #62222
Comments
Godot 3.3.x is not supported for bug fixes anymore, so please upgrade to 3.4.4 and check if the issue still occurs there. Also, I'd try 3.5.rc3 as it supports multiple images in atlases when baking lightmaps. (Make backups of your project files before upgrading!) |
sorry my bad - I am using 3.4.4 I edited the initial issue. |
I also tested this in G4 and crashes. I do need to test it more as I am not sure on the testing method. |
On Godot 4, this is likely the same cause as #45296. On both Godot 3 and 4, you probably need to increase the lightmap's texel size to reduce the generated texture size. This will also lead to smaller file sizes. The default value of |
|
Godot version
3.4.4 stable
System information
Windows 10 GLES3 Nvidia version 512.95
Issue description
Baking lightmaps crashes Godot.
The scene has 4 omnilights and hundreds of 3d objects from a single GLTF file. BakedLightmap node is default except the quality which was set to low to speed up the baking time.
Steps to reproduce
This is what the console says before crashing:
Minimal reproduction project
Sadly the project has more than 4GBs.
The text was updated successfully, but these errors were encountered: