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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment