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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment