Search Issue Tracker
Fixed
Fixed in 2022.3.16f1, 2023.2.4f1, 2023.3.0a17, 7000.0.0a1
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.1.19f1
2023.2.0b16
2023.3.0a12
Issue ID
UUM-56491
Regression
No
Lightmapping memory does not deallocate when baking is completed
The case about GI meta pass rendering not deduplicating meta pass textures is tracked here [UUM-55090] GI meta pass is generating unique textures for identical instances - Unity JIRA (unity3d.com)
Reproduction steps:
1. Open the attached "repro_IN-58779.zip" project
2. Open the "Assets/Scenes/SampleScene.unity"
3. Open the Memory Profiler ("Window" > "Analysis" > "Memory Profiler")
4. Take a memory capture of the Scene (press the "Capture New Snapshot" button)
5. Open the BigBox Lightmapping Window ("BigBoxVR" > "Lightmapping Window")
6. Press the "Bake Scene" button and wait for the process to finish (the Scene will change to "SampleScene--Lightmapped")
7. Take a memory capture of the "SampleScene--Lightmapped" Scene
8. Observe the "Texture2D" memory usage in the new capture
Expected result: "Texture2D" memory usage remains the same as in the first capture
Actual result: "Texture2D" shows around a 10x increase in the memory usage
Reproduced with: 2021.3.32f1, 2022.3.13f1, 2023.1.19f1, 2023.2.0b16, 2023.3.0a12
Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested
Note: In 2023.3.0a12, the memory usage increase is around 4x
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Add comment