Search Issue Tracker
Fixed in 0.10.1-preview
Votes
0
Found in [Package]
0.8.0
Issue ID
1205392
Regression
Yes
[UI Builder] Selecting an item from StyleSheets window throws errors when its display is set to none
How to reproduce:
1. Open the project from the attached file "1205392.zip"
2. From Assets open "bug.uss" file in a text editor
3. Change display: flex to display: none and save the file
4. Return to Unity and Enter the UI Builder window
5. Select the .selector item from StyleSheets window and inspect the console
Expected result: No error is thrown in the console
Actual result: NullReferenceException and "Trying to read value of type Enum while reading a value of type keyword" error is thrown in the console
Reproducible with: UI Builder 0.8.0, 0.10.0(2019.2.20f1, 2019.3.0f6, 2020.1.0a22)
Not reproducible with: UI Builder 0.7.0(2019.2.20f1, 2019.3.0f6, 2020.1.0a22)
Could not test with: 2017.4.36f1(no package manager), 2018.4.17f1, 2019.1.14f1(UI Builder not introduced)
Note: When changing display value to none in the UI Builder Inspector the error is not thrown. When changing display value in the UI Builder Inspector after reproducing this bug, the IndexOutOfRangeException is thrown in the console.
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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
Resolution Note (fix version 0.10.1-preview):
Fixed in UI Builder 0.10.1-preview(2019.3.3f1, 2020.1.0a25)