Search Issue Tracker
Fixed in 2022.1.19f1
Fixed in 2022.1.X, 2022.2.X, 2023.1.X, 2023.1.0a8
Votes
0
Found in
2022.1.0b7
2022.2.0b4
2023.1.0a5
Issue ID
UUM-2385
Regression
Yes
Memory leak when previewing a prefab with a scene that has many lights
Steps:
1. Open attached project (MemLeak.zip)
2. Open Master scene
3. Make sure SceneView is opened and looks at all the lights
4. On ProjectView, select prefab "sleepbag_low_p"
5. Open Windows Task Manager, observe Unity's CPU memory (around 1900MB)
6. On Inspector, rotate the preview
7. Keep rotating the preview and observe Unity's CPU memory (it goes up exponentially, small increase at start and huge increase later)
See attached video for seeing how the memory increases.
Note:
This is small repro project so the memory increase takes time to repro, but in the original big project where all the props are there, the memory goes up to 20000+MB in a few seconds.
Reproducible:
2022.1.0b7.2713 (76c40b9e7402) + URP 13.1.5
Not-reproducible:
2021.2.11f1.4346 (3015f5ab9d4f) + URP 12.1.4
2020.3.27f1.1527.3 (e759542391ea) + URP 10.8.1 (does not have deferred rendering path)
URP only, Does not repro in builtin RP.
Tested on Win DX11, RTX 3080 Laptop GPU
Comments (1)
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
DrunkenMastah
Mar 24, 2023 11:06
Not fixed in 2022.2.11f1