Search Issue Tracker
Fixed
Fixed in 2021.3.40f1, 2022.3.31f1, 6000.0.6f1, 7000.0.0a1
Votes
1
Found in
2021.3.30f1
6000.0.37f1
Issue ID
UUM-48738
Regression
No
Pose Equals function test fails when comparing it with itself
How to reproduce:
1. Download and open the attached "PoseEquality" project
2. Open the Test Runner window (Window > General > Test Runner)
3. In the Test Runner window, press "Run All"
Expected outcome: The tests succeed
Actual outcome: The tests fail
Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5
Tested on: macOS (Ventura 13.4)
The Pose Equals function doesn't always return true even when compared to itself, while the Quaternion Equals function does always return true.
This is because Pose Equals function doesn't use Quaternion Equals function but its == operator.
This lead to inconsistencies when using the `Assert.AreEqual` function in automated testing
See forum post: [https://forum.unity.com/threads/pose-equality-not-implemented-in-accordance-with-quaterion.1484145/] (fix suggested in the post)
2. How can we reproduce it using the example you attached
- Open the project
- Run the editor tests
Expected result: The test succeed
Actual result: The test fail
Comments (1)
-
Pitou22
Sep 11, 2023 19:51
The "Found in" field is missing versions 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5
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
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
- [iOS] Frame Debugger rendering output doesn't work with iOS builds
Resolution Note (fix version 7000.0.0a1):
Fixed via Backports
Resolution Note (fix version 2022.3.31f1):
Verified with: 2022.3.31f1
Resolution Note (fix version 2021.3.40f1):
Fixed via Backports