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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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