Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.1.0a1
2019.2.0a1
2019.3.0a1
2019.3.0a3
Issue ID
1157344
Regression
No
UIElements window instance breaks when updating the window
How to reproduce:
1. Open the attached project ("DialogBoxResearch.zip")
2. In the Dialogs tab, select "NewDialogPrefab"
3. Open "Dialogs.cs" script and make a non-significant change in it
4. Go back to the editor and wait till the script is recompiled
Expected results: UIElement window retains its instance
Actual results: UIElement window loses its instance
Reproducible with: 2019.1.5f1, 2019.2.0b5, 2019.3.0a4
Notes:
1. Couldn't reproduce this issue on trivial scripts
2. Could not test with 2017.4 and 2018.4 as they lack UIElements functionality
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
- The build size is larger when Models have Animation Type set to Generic
- Error "ArgumentException: Both 'ok' and 'cancel' strings are null or empty" logged when User is trying to create circular dependencies in UI Builder Hierarchy
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
Resolution Note:
User code throws during onEnable and VisualElements are not created. EditorStyles.label cannot be called from OnEnable().