Search Issue Tracker
Feature Request
Feature Request in 6000.4.X
Votes
5
Found in
6000.2.9f1
6000.3.0b8
6000.4.0a3
Issue ID
UUM-123189
Regression
No
UI Toolkit's VisualElement with "Overflow: hidden" property fails to clip its child element when Render Mode is set to "World Space"
How to reproduce:
1. Open the attached “IN-120502_repro” project
2. Observe the Game window. Notice that the corners of the black area are rounded
3. In the Hierarchy tab, click on the “UIDocument” GameObject
4. In the Inspector, in the UI Document component open the “PanelSettings” asset
5. Set the Render Mode property to “World Space”
6. Observe the Game window
Expected result: The corners of the black area are rounded
Actual result: The corners of the black area are not rounded
Reproducible with: 6000.2.9f1, 6000.3.0b8, 6000.4.0a3
Could not test with: 2022.1.0a5, 6000.0.60f1 (61dfb374e36f), 6000.2.0a1 (No Render Mode property in the Panel Settings asset)
Reproducible on: macOS 15.3.2 (24D81) (M1 Max)
Not reproducible on: No other environments tested
Note: Reproducible in 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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
This is a current limitation of world-space UI Toolkit as documented here:
https://docs.unity3d.com/6000.2/Documentation/Manual/UIE-masking.html
"arbitrary shape masking is currently not supported in World Space UI"
As of today, overflow:hidden in world-space always uses a rectangle clip. Rouded masking shapes requires the use of the stencil buffer which may interact with other URP/HDRP features.
However, world-space masking is a planned feature.
Resolution Note (6000.4.X):
This is a current limitation of world-space UI Toolkit as documented here:
https://docs.unity3d.com/6000.2/Documentation/Manual/UIE-masking.html
"arbitrary shape masking is currently not supported in World Space UI"
As of today, overflow:hidden in world-space always uses a rectangle clip. Rouded masking shapes requires the use of the stencil buffer which may interact with other URP/HDRP features.
However, world-space masking is a planned feature.