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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Add comment