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
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
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.