02-03-2021, 02:46 PM
(This post was last modified: 02-03-2021, 02:51 PM by josemendez.)
Just confirmed this is a bug in Unity, that manifests itself when using the Oni backend as unlike Burst, it does not clamp Time.deltaTime values.
https://forum.unity.com/threads/fixedupd...2.1067567/
Tested in Unity 2018.4, 2019.3, and 2020.1, works fine in all of them. However 2020.2 returns completely incorrect Time.deltaTime values. I suspect the origin of this are the changes introduced to Time.deltaTime in 2020.2: https://blogs.unity3d.com/es/2020/10/01/...d-it-take/
The bug has been reported and I'm awaiting feedback from the Unity staff.
For now, using Burst or disabling interpolation are the only workarounds.
https://forum.unity.com/threads/fixedupd...2.1067567/
Tested in Unity 2018.4, 2019.3, and 2020.1, works fine in all of them. However 2020.2 returns completely incorrect Time.deltaTime values. I suspect the origin of this are the changes introduced to Time.deltaTime in 2020.2: https://blogs.unity3d.com/es/2020/10/01/...d-it-take/
The bug has been reported and I'm awaiting feedback from the Unity staff.
For now, using Burst or disabling interpolation are the only workarounds.