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

Package: Scriptable Render Pipeline Universal

-

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

  1. Resolution Note (fix version 13.0.0):

    Fixed in 13.0.0 available in 2022.1.0a11 and up

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.