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
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
- Text Script Importer Reference button links to a Missing Page when clicking the Reference Button in the Inspector
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