Search Issue Tracker
Fixed in 10.0.0
Votes
4
Found in [Package]
9.0.0-preview.14
Issue ID
1253704
Regression
No
'inl_render Camera' (deep profile - Render2dLightingPass Execute) allocates 36B of garbage when 2D Light in Game View is visible
How to reproduce:
1. Open attached project "LightGCAllocation_stripped2.zip" and scene "SampleScene"
2. Open Profile window and enable Deep Profile
3. Enter Play mode
4. In Profiler window, click on the graph
5. Search for "Render2dLightingPass.Execute()"
6. Observe the amount of Allocated Garbage
Expected result: no garbage is allocated
Actual result: 36B of garbage every frame is allocated
Reproducible with: 2019.4.1f1, 2020.1.0b13, 2020.2.0a15 (7.3.1, 8.1.0, 9.0.0-preview.14)
Could not test with: 2018.4 (2D Lights were not yet implemented)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 10.0.0):
Verified in:
Version: 2020.2.0a20
Package: Universal RP 10.0.0-preview.26