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
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
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.