Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.2.0a5

2019.3.0a1

2019.3.0b4

2020.1.0a1

Issue ID

1186035

Regression

No

Console is spammed with exceptions when trying to assign texture asset to UXML (texture) Field in 'UIElements Samples' window

UI Toolkit

-

How to reproduce:
1. Create and open a new project
2. In the Project window create a Square sprite texture
3. In the Editor select 'Window' > 'UI' > 'UIElements Samples'
4. In the UIElements Samples window select 'Object Field'
5. Try to drag the Square sprite texture to UXML Field
6. Observe the Console window

Expected result: no exceptions are thrown, you can assign a texture asset
Actual result: exceptions are thrown

Reproducible with: 2019.2.0a5, 2019.2.7f2, 2019.3.0b4, 2020.1.0a5
Could not test with: 2017.4.32f1, 2018.4.10f1, 2019.2.0a4 (UIElements Samples not available)

Thrown exception:
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <d00f1b61b8b243648d8e1b7410a0ee0f>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <d00f1b61b8b243648d8e1b7410a0ee0f>:0)

  1. Resolution Note:

    This is a minor issue in an area of Unity where functionality is not important. This window is here for documentation purposes.

Add comment

Log in to post comment

All about bugs

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