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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.