Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.47f1
2021.3.22f1
2022.1.14f1
2022.3.0f1
2023.1.0b11
2023.2.0a11
2023.3.0a1
Issue ID
UUM-33886
Regression
No
Mathf.SmoothDampAngle sets currentVelocity to NaN when Time.timeScale is set to 0 and target is close in value to current
How to reproduce:
1. Open the attached Project "dampTest" and load Scene "SampleScene"
2. Enter Play Mode
3. Press the "T" key on the keyboard
4. Observe the Console
Expected result: "SmoothDampAngle velocity: 0" log can be seen in the Console
Actual result: "SmoothDampAngle velocity: NaN" log can be seen in the Console
Reproducible with: 2020.3.47f1, 2021.3.22f1, 2022.1.14f1, 2023.1.0b11, 2023.2.0a11
Reproduced on:
- macOS 12.3 (Intel)
Notes:
- Mathf.SmoothDamp can set currentVelocity to NaN as well, but only when current and target are equal
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
Thank you for bringing this issue to our attention. Unfortunately, after careful consideration we will not be addressing your issue at this time, as we are currently committed to resolving other higher-priority issues, as well as delivering the new animation system. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However we know each case is different, so please continue to log any issues you find, as well as provide any general feedback on our roadmap page to help us prioritize.
Forum announcement: https://forum.unity.com/threads/animation-status-update-q2-2023.1445425/
Roadmap: https://unity.com/roadmap/unity-platform/3d-characters-and-animation