Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.64f1
6000.2.15f1
6000.3.1f1
6000.4.0a5
6000.5.0a3
Issue ID
UUM-130084
Regression
No
UI GameObjects are not positioned at 0,0,0 when creating them while Scene view is active
Steps to reproduce:
- Create a new Unity project using a 3D Universal Template
- Make sure the Scene view is active
- Right-click in the Hierarchy
- Select UI > Button - TextMeshPro (or any other UI GameObject)
- In the Inspector, observe the "Rect Transform" Component of the newly created GameObject
Actual results: The Pos X, Pos Y are at random values, anywhere in the Canvas GameObject
Expected results: The Pos X, Pos Y and Pos Z are at 0,0,0
Reproducible with versions: 2023.1.0a1, 6000.0.64f1, 6000.2.15f1, 6000.3.1f1, 6000.4.0a5, 6000.5.0a3
Tested on (OS): Windows 11, macOS 26.1 (M1 Pro)
Notes:
- If the first GameObject is created while only the Game view is active, the issue does not occur and GameObjects are located at 0,0,0. However, if they get created while Scene view is active, they end up created at random parts of the Canvas. After that, the issue also starts reproducing with Game view
- The created position changes based on the Camera position in the Scene view. Rotating it or moving it to a different position provides different results, sometimes it correctly places it as 0,0,0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Active Targets section text in Graph Inspector is truncated despite available space
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
Add comment