Search Issue Tracker

Active

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:

  1. Create a new Unity project using a 3D Universal Template
  2. Make sure the Scene view is active
  3. Right-click in the Hierarchy
  4. Select UI > Button - TextMeshPro (or any other UI GameObject)
  5. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.