Forum Discussion
Earthling91
3 years agoHonored Guest
Time.deltaTime returns 10^-5 in random frames in builds (Quest + Unity 2021.3 LTS)
Hi, as in the title, Time.deltaTime returns impossibly tiny values in some frames. This in turn breaks calculations in our code where it is present. I haven't found any project setting that changes this behavior. It happens even in an empty test scene with nothing but a logger.
Tested with both LibOVR and OpenXR as OVRPlugin.
The calculated (Time.time - lastFrameTime) in those frames is equal to 1/65536, which is two full bytes (might have some meaning?).
Replies have been turned off for this discussion
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago