Search Issue Tracker

Fixed in 2022.1.X

Votes

2

Found in

2018.4

2019.4

2020.3

2020.3.13f1

2021.1

2021.2

2022.1

Issue ID

1348545

Regression

No

Quaternion ToAngleAxis does not deal with singularity at (0, 0, 0, -1)

Scripting

-

Reproduction steps:
1. Open the attached "ToAxisAngleTest.zip" project
2. Enter Play Mode

Expected result: Console logs "(1.0, 0.0, 0.0)" and "(1.0, 0.0, 0.0)"
Actual result: Console logs "(1.0, 0.0, 0.0)" and "(NaN, NaN, NaN)"

Reproducible with: 2018.4.36f1, 2019.4.29f1, 2020.3.14f1, 2021.1.15f1, 2021.2.0b3, 2022.1.0a2

  1. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a11

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.