- 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.