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
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
- SpriteShapeController.OnWillRenderObject() is ~20 ms when using SpriteShapeController.BakeMesh() and never updating the spline
- Editor freezes briefly when "multi-selecting" TextMeshPro GameObjects In the Hierarchy window in Prefab Mode, if 5 or more Inspector windows are open
- OnEndDrag event not triggered when losing Editor focus during simultaneous Left and Right mouse drag
- Texture displays visual artifacts and has a broken aspect ratio when it is imported in RGB 48-bit format
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16