Search Issue Tracker
Fixed
Votes
0
Found in
6000.2.0b1
Issue ID
UUM-105762
Regression
No
UI size changes unexpectedly when switching PanelSettings Render Mode from Screen Space Overlay to World Space
Steps to reproduce:
- Create a new Unity Project
- Create a UI Document (Assets > Create > UI Toolkit > UI Document)
- In the newly created PanelSettings, set Render Mode to World Space
- In the Project window, create a new UXML (Right-click > Create > UI Toolkit > UI Document)
- Double-click the UXML to open it in the UI Builder
- Add two buttons to the canvas
- In the Hierarchy, select the UI Document and in the Inspector, set Size Mode to Dynamic
- Observe the UI size in the Scene View
- In the Project window, select the PanelSettings asset
- Change the Render Mode from World Space to Screen Space - Overlay
- Observe the UI size again in the Scene View
Actual results: The UI size changes noticeably when switching the PanelSettings Render Mode
Expected results: The size of the UI should remain consistent regardless of the Render Mode
Reproducible with versions: 6000.2.0b1
Tested on (OS): macOS 15.5 (Silicon M4), Windows 11
Notes:
- The inconsistency might affect layout fidelity during UI transitions or when toggling modes dynamically at runtime.
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-105765