Search Issue Tracker

Fixed in 8.1.0

Fixed in 8.1.0, 7.3.1

Votes

0

Found in [Package]

8.0.1

Issue ID

1226918

Regression

Yes

Errors appear in the console when global 2D light is selected in hierarchy

Package: Scriptable Render Pipeline Universal

-

Steps to reproduce
- Open the attached project in Unity 2020.1.0b1
- Open the MainHUB scene
- In the hierarchy, select Global Light 2D
- Press play
Notice issue >> Errors are produced in the console. This only happens if the Global Light 2D is selected.

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Experimental.Rendering.Universal.Light2DEditor.OnDestroy () (at Library/PackageCache/com.unity.render-pipelines.universal@8.0.1/Editor/2D/Light2DEditor.cs:241)
UnityEditor.AssetDatabase:ImportAsset(String)

Tested
Windows 10 - Unity 2020.1.0b1

Note: I could not reproduce the issue on a new project.

Add comment

Log in to post comment