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
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Resolution Note (fix version 0.10.1-preview):
Fixed in UI Builder 0.10.1-preview(2019.3.3f1, 2020.1.0a25)