Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2019.4
2019.4.28f1
2020.3
2021.1
2021.2
Issue ID
1360164
Regression
No
[Linux][Denoising] Unity crashes due to running out of memory when baking Lightmaps
Reproduction steps:
1. Download and open the attached project: "AC_Hydrocarbons.zip"
2. Go to Window > Rendering > Lighting
3. Press Generate Lighting
Expected result: The Lightmaps are baked without issue
Actual result: Midway through baking Lightmaps Unity crashes. It also causes a temporary freeze of the whole system.
Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.25f1, 2021.2.0b15, 2022.1.0a12
Notes:
- Tested on Ubuntu 18.04 with a GTX1060 (6GB VRAM)
- The crash occurs with both OpenGL and Vulkan Graphics API
- The project could not load on Windows, it would hang midway through
- Not reproducible on macOS
- Reproducible with CPU and GPU Lightmappers
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Resolution Note (2022.1.X):
I'm postponing this bug, since for the time being there is a workaround for the user (use CPU lightmapper) and we are currently working on a new design (the Lightbaker) that will reduce the memory pressure during denoising by unloading first the lighting data when doing the compositing.
Epic: https://jira.unity3d.com/browse/LIGHT-761