Search Issue Tracker
Fixed
Fixed in 2021.3.35f1, 2022.3.14f1, 2023.2.6f1, 2023.3.0b3, 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-55090
Regression
No
GI meta pass is generating unique textures for identical instances
This case is about meta pass textures not getting de-duplicated, the bug about pvr runtime manager holding on to lightmap textures is tracked as a clone here [UUM-56491] CLONE - Lightmapping memory does not deallocate when baking is completed - 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
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Add comment