Search Issue Tracker
Fixed in 7.2.2
Votes
2
Found in [Package]
7.2.0
Issue ID
1219430
Regression
Yes
[URP] NullReferenceException errors are thrown on navigating to 2D Renderer menu
Project Upgraded to 2D Renderer & Scene upgraded to 2D Renderer options are disable in 2D Renderer.
Steps to repro:
1. Create a new Project with SRP Template.
2. Edit > Render Pipeline > Universal Render pipeline > 2D Renderer.
3. Click outside the Menu.
Actual Result:
NullReferenceException errors are thrown in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.1.0a24(79162fef2e73), 2019.3.2f1 with Package version 7.2.0.
Working fine in:
2020.1.0a24(79162fef2e73), 2019.3.2f1 with Package version 7.1.8.
Environment:
Occurring on Windows 10 Mac 10.15.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Experimental.Rendering.Universal.Light2DEditorUtility.GetRenderer2DData () (at Library/PackageCache/com.unity.render-pipelines.universal@7.2.0/Editor/2D/Light2DEditorUtility.cs:103)
UnityEditor.Experimental.Rendering.Universal.Light2DEditorUtility.IsUsing2DRenderer () (at Library/PackageCache/com.unity.render-pipelines.universal@7.2.0/Editor/2D/Light2DEditorUtility.cs:115)
UnityEditor.Experimental.Rendering.Universal.Renderer2DUpgrader.UpgradeSceneTo2DRendererValidation () (at Library/PackageCache/com.unity.render-pipelines.universal@7.2.0/Editor/2D/Renderer2DUpgrader.cs:95)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment