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
- [XR] Input is not registered and headset view is headlocked after entering Play Mode with Meta XR SDK on 6000.0.0b16 and higher
- Crash on RtlLookupFunctionEntry when using 10 or more GameObjects with Articulation Body component in the scene
- Polygons are created on the opposite side of the Sprite when the Sprite boundaries are above the edge of the Texture
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
- [Android] [Vulkan] "VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT" not added on some Android devices in "com.unity3d.player.UnityPlayerActivity/2D Colour Attachement"
Add comment