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
- Imported FBX is rendered differently in Game view when comparing to Scene view
- "GetAllOverlapping failed" Error displayed in console or endless loading process on Application.Message.LeftButtonUp when cycle-selecting GameObjects with GPU Resident Drawer enabled
- Scene View has an inverted Game View window when changing from Game View to Scene View on a specific project
- An error is thrown when one TreeView root element is dragged and held over a parent element but is dropped between the elements
- Text Object position shifts when selecting multiple Text Objects and expanding the Extra Settings in the Inspector
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