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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Add comment