Search Issue Tracker

Fixed in Unity 2018.3

Votes

0

Found in

2018.2.0b4

Issue ID

1036610

Regression

Yes

"UI Elements View" Asset throws "Null Reference Exception" on de-selection

UI Elements

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

"UI Elements View" Asset throws "Null Reference Exception" on de-selection

Steps to Repro:
1. Project window > Right Click
2. Create > UI Elements View
3. Click outside in project window to de-select it

or

1. Open attached project
2. Select and de-select UI Elements View asset in the project window

Actual Result:
Observe console for error

Occurring with:
2018.3.0a1, 2018.2.0b4 , 2018.2.0b3, 2018.1.0b1, 2018.1.0f2, 2017.4.3f1

Working with:
2018.1.0a7, 2018.1.0a5, 2018.1.0a1, 2017.3.0f3, 2017.3.0b5

Environment:
Windows Only

Stack Trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.Experimental.UIElements.VisualTreeAssetEditor.OnDestroy () (at C:/buildslave/unity/build/Editor/Mono/UIElements/VisualTreeAssetEditor.cs:25)

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.