Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2021.3.X
Votes
1
Found in
2020.3
2021.2
2021.2.6f1
2022.1
2022.2
Issue ID
1388963
Regression
No
UI Document is visible in the Game window when opening project and "UI Document" Component is disabled
How to reproduce:
1. Open project "UIDocumentEnableIgnore.zip"
2. Open the Game window and observe the view
Expected result: Yellow square is not visible
Actual result: Yellow square is visible
Reproducible with: 1.0.0-preview.15, 1.0.0-preview.18 (2020.3.29f1), 1.0.0 (2021.2.12f1, 2022.1.0b8, 2022.2.0a5)
Could not test with: 2019.4.36 (No UI Toolkit), 1.0.0-preview.14 (Errors after downgrade)
Notes:
- When entering Play Mode the square disappears but reappears when exiting Play Mode
- After enabling and disabling the UI Document Component the square becomes not visible
- Not reproducible in the Player
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
- "GetPreferedValue" returns max value when using auto-sizing
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
- “Assertion failed on expression” errors thrown when undoing Nodes creation with keyboard shortcut
- Crash on various stack traces when using Texture2D.CreateExternalTexture() while rendering
- Clicking on section text in Node Library > Context folder throws NullReferenceException errors
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16