Search Issue Tracker

Fixed

Fixed in 2021.3.39f1, 2022.3.28f1, 6000.0.1f1, 7000.0.0a1

Votes

1

Found in

2021.3.34f1

2022.3.18f1

2023.2.7f1

2023.3.0b4

6000.0.0b11

7000.0.0a1

Issue ID

UUM-62533

Regression

No

Wrong position and rotation values are returned when using transformAccess.GetLocalPositionAndRotation

--

-

Reproduction steps:
1. Open the attached “My project.zip” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console window

Expected result: transformAccess.GetLocalPositionAndRotation returns localPosition = (1, 2, 3) and localRotation = (0, 0.70711, 0, 0.70711)
Actual result: transformAccess.GetLocalPositionAndRotation returns localPosition = (0, 0.71, 0) and localRotation = (1, 2, 3, 0)

Reproducible with: 2021.3.34f1, 2022.3.18f1, 2023.2.7f1, 2023.3.0b4

Reproducible on: Windows 11
Not reproducible on: No other environment tested

  1. Resolution Note (fix version 7000.0.0a1):

    This has been fixed.

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.