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
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
- “error CS0433: The type 'CodeBinaryOperatorType' exists in both 'System.CodeDom and 'System" compilation errors are thrown when opening a specific project
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16