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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 13.0.0):
Fixed in 13.0.0 available in 2022.1.0a11 and up