Search Issue Tracker
Fixed
Fixed in 6000.3.10f1, 6000.4.0b10, 6000.5.0a8
Votes
0
Found in
6000.3.7f1
6000.4.0b7
6000.5.0a6
Issue ID
UUM-133953
Regression
Yes
"Assertion failed on expression CompareApproximately" error thrown when keyframes are added for rotation animation
How to reproduce:
1. Open the attached project “IN-132774”
2. Open the “SampleScene”
3. In the Hierarchy, select the “TEST_OBJECT” GameObject
4. In the Animation window, move a few frames forward
5. In the Inspector window, change rotation values on all axes to 10
6. In the Animation window, add keyframes for the new values
7. Observe the Console and the animation in Scene View
Actual result: “Assertion failed on expression: 'CompareApproximately(SqrMagnitude(result), 1.0F)'“ is thrown in the Console and rotation values on all axes are set to -7.730941e+11 on all frames before the added keyframe
Expected result: No errors are thrown and rotation is animated
Reproducible with: 6000.3.0a1, 6000.3.7f1, 6000.4.0b7, 6000.5.0a6
Not reproducible with: 6000.0.67f1, 6000.2.0b2 (2bdac9ac0d74)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Workaround: Adding new keyframes on frame 1 and deleting the automatically added keyframes
Note: Issue appears to happen when transitioning from the keyframes that are added automatically when adding the Transform property to the next added keyframes
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
- Warning icon is cut off and misplaced in Inspector when selecting a Shader with a compiler warning
- AI Navigation Sample Scenes do not work and throws “InvalidOperationException”, “Curl error3”, “CrashReporter”, and “NullReferenceException” errors when using the new Input System Package (default) on a new project
- Bottom of Build Size window in Project Auditor becomes inaccessible when a monitor has a high display scaling
- AI Assistant fails to load account information when AI assistant is opened
- [Linux] Improve "GPUResidentDrawer" warning message to include actionable guidance when creating a new Unity project using Universal 3D Template
Resolution Note:
Fixed in 6000.5.0a8
Resolution Note (fix version 6000.5.0a8):
Fixed in 6000.5.0a8
Resolution Note (fix version 6000.4.0b10):
Fixed in 6000.4.0b10
Resolution Note (fix version 6000.3.10f1):
Fixed in 6000.3.10f1