Search Issue Tracker
Duplicate
Votes
0
Found in
2019.1.0a12
2019.2.0a1
2019.3.0a1
2019.3.0a5
Issue ID
1162343
Regression
Yes
[UIElements] Changing USS and C# scripts at the same time causes null refs and blank window
How to reproduce:
1. Create new project
2. Add styles.uss file and E03_StyleSheet.cs file to the project
3. Open UIElementsExamples > 03_StyleSheet window
4. In a text editor, make a change in both the styles.uss file and E03_StyleSheet.cs file (like add a space)
5. Focus Unity again
Reproducible with: 2019.1.0a12(error appear), 2019.1.8f1(error only), 2019.2.0a13(blank window appears), 2019.2.0b8, 2019.3.0a8
Not reproducible with: 2017.4.29f1, 2018.4.3f1(UI elements not available), 2019.1.0a11
Expected: Nothing should break
Actual results: You'll get some null ref error in the console and the 03_StyleSheet window will go blank. You'll have to close it and reopen it to fix it
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash with multiple stack traces when painting detail on Terrain with a highly detailed Prefab
- Crash on mono_object_handle_isinst_mbyref_raw when SerializedReference points to a struct implementing ISerializationCallbackReceiver whose first field is a UnityEngine.Object
- Default name of a "Category" in a VFX Graph is not capitalised
- [Android] TMP Input Field loses focus on click when using an external keyboard
- GameObject renders as a cube when changing Cast Shadows
Add comment