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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note (fix version 10.0.0):
Verified in:
Version: 2020.2.0a20
Package: Universal RP 10.0.0-preview.26