Search Issue Tracker
Fixed in 10.0.0-preview.26
Fixed in 7.5.2, 8.3.1
Votes
0
Found in [Package]
7.3.1
Issue ID
1274331
Regression
Yes
[URP] ScriptableRendererFeatureEditor memory leak while interacting with Forward Renderer in the Inspector window
How to reproduce:
1. Open the project attached by the user
2. Open Profiler window, on the Memory section, select Detailed
3. In the Project window open the Settings folder and select the ForwardRenderer asset
4. Add a RenderObjects feature if there isn't one already
5. Adjust settings of the render feature or just move the cursor in and out of the Inspector window
6. In the Profiler window, Click "Take Sample Playmode" and observe the objects under "Not Saved" -> "MonoBehaviour"
Expected result: There are no duplicate objects that would indicate a memory leak
Actual result: Endless copies of UnityEditor.Rendering.Universal.ScriptableRendererFeatureEditor can be found suggesting a memory leak
Reproducible with: 2019.3.2f1(7.3.1), 2019.4.10f1(7.4.3), 2020.1.4f1(8.2.0, 8.3.1), 2020.2.0b2(9.0.0-preview.54, 9.0.0-preview.66)
Not reproducible with: 2019.3.2f1(7.2.1), 2020.2.0b2(10.0.0-preview.26)
Could not test with: 2018.4.27f1(URP was not yet available)
Fixed in - 10.0.0-preview.26
Notes:
1. Steps 5 and 6 can be repeated multiple times to illustrate continuous increase of objects under MonoBehaviour behavior section. These objects are only cleared if the project is restarted
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
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
- DOTS Materials Not Rendering in Player When Using Entity Graphics with Custom SRP
- Sprite Pivot position in Sprite Editor and Scene View do not match when the position is custom
- [HDRP] Unchecking the "Base layer" in Graphics Compositor results in Camera view rendering over the window
Resolution Note (fix version 10.0.0-preview.26):
Fixed in - 10.0.0-preview.26
Resolution Note (fix version 8.3.1):
Fixed in - URP 8.3.1 which is available in 2020.1
Resolution Note (fix version 7.5.2):
Fixed in - SRP 7.5.2 which is available in 2019.4