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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Add comment