- Home /
realtimeSinceStartup resets during application shutdown
When Time.realtimeSinceStartup
is used during the OnDestory() method of a gameobject being called during app shutdown (or in unity IDE, stopping the app), the value is always just slightly above zero.
this thread provides what looks like a good alternative, which is to use the System date class, but this seems like a weird bug.
Comment
i'm looking for confirmation and/or insight into the issue.
Your answer
![](https://koobas.hobune.stream/wayback/20220612072402im_/https://answers.unity.com/themes/thub/images/avi.jpg)