Search Issue Tracker
Fixed in 13.0.0
Votes
0
Found in [Package]
12.1.1
Issue ID
1384773
Regression
Yes
URP memory leak when additional punctual light shadows resolution is reduced to fit in shadow atlas
Reproduction steps:
1. Open the attached project
2. Start and stop the play mode
3. In Hierarchy Window click on the Terrain object
Expected result: additional punctual light shadows resolution is reduced to fit in shadow atlas
Actual result: editor spams "Allocation of 56 bytes at 0x****f****" to the console and memory is eventually flooded
Reproducible with: 12.1.1 ( 2021.2.2f1 , 2021.2.4f1 ), 12.1.2 ( 2021.2.5f1 )
Not reproducible with: 10.7.0 ( 2020.3.24f1 ), 12.1.0 ( 2021.2.1f1 ), 13.0.0 ( 2022.1.0a11 ), 13.1.1 ( 2022.1.0a16 )
Could not test with (due to compilation error: File may be corrupted or was serialized with a newer version of Unity): 2019.4.34f1
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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note (fix version 13.0.0):
Fixed in 13.0.0 available in 2022.1.0a11 and up