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
- PropertyDrawer gets disposed while still being active when adding a secondary component
- Realtime GI behaves differently when using Unlit (Amplify) and Lit (Shader Graph) shaders in URP
- API Updater strips Unity-owned Custom Attribute references within precompiled DLLs
- [iOS] ListView is flickering when scrolling over the end
- The Aspect Ratio Fitter Component on a Prefab displays a parent-related warning despite the Prefab's inability to have parents when "Envelope Parent" or "Fit In Parent" modes are used
Add comment