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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment