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
- UI Builder window does not mark the document as dirty when the "Unset" action is performed on an element of a nested document
- Shader Graph node settings warning text colour is very hard to read
- Inconsistent logic on when 'open VFX graph Samples' button appears on Visual Effect Graph in Package Manager
- Unable to dock tabs on panels when non-standard pointers are used (touch-screen, tablet and pen)
- Editor hangs when rendering TMP Text Component with Left and Right Margins set in the Extra Settings
Add comment