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
- Frame Debugger's Hierarchy is not navigable when connecting it to the project built with the Volumetric Fog
- The number of SetPass Calls is increasing when attaching the Frame Debugger to the Player
- Scrollbar briefly appears in the Package Manager during installation process even when the package list is too short to require scrolling
- Script resets to use the previous Skybox color when saving the Scene changes
- [2D] Sprite Library Editor window throws NullReferenceException error when entering Play Mode with Game View maximised
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