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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 0.10.1-preview):
Fixed in UI Builder 0.10.1-preview(2019.3.3f1, 2020.1.0a25)