Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.3.0a8

2018.3.2f1

2019.1.0a1

2019.2.0a1

Issue ID

1119610

Regression

Yes

Window with UI Elements breaks on refresh after a script recompilation

UI Toolkit

-

How to reproduce:
1. Open the attached "UIElementsBug.zip" project
2. In Project window, double-click the "New Behavior" asset to open a custom window
3. In the opened window, click one of the "Action" labels
4. Open one of the foldouts (e.g. Parameters)
5. Reimport BehaviorEditorWindow.cs script

Expected result: The "New Behavior" window stays unchanged.
Actual result: After reimporting the script, UI of the "New Behavior" window is broken.

Reproducible with - 2018.3.0a8, 2018.3.3f1, 2019.1.0a1, 2019.1.0b1, 2019.2.0a2
Not reproducible with - 2018.3.0a7

Note: Not tested on 2017.4 due to compile errors.

  1. Resolution Note (2019.2.X):

    The issue occurs by usage of the VisualElement.clippingOptions = ClippingOptions.ClipAndCacheContents.

    This feature is being removed as we transition out of experimental and now offer a batch renderer which makes this less useful.

    The best suggestion right now is to stop using the caching functionality in 2018.X until migration to 2019.X.

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.