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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment