Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.48f1
Issue ID
UUM-44194
Regression
No
Time.realTimeSinceStartup returns wrong values when using OnDestroy()
How to reproduce:
1. Download and open the attached "RealTimeSinceStartup" project
2. Enter Play mode
3. Wait a couple of seconds before exiting Play mode
4. Observe the console window
Expected outcome: OnDestroy() returns a value of a couple of seconds (similar to OnApplicationQuit())
Actual outcome: OnDestroy() returns a value lower than a second
Reproducible with: 2020.3.48f1, 2021.3.29f1, 2022.3.6f1, 2023.1.7f1, 2023.2.0b3
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
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
- Image is distorted when VisualElement is scaled and Scale Mode set to scale-and-crop
- Euler angles return different values during Animation Event when using Playables API and the time is 0
Resolution Note:
Thank you for your bug report.
After reviewing the issue and the impact it has on our users our team has decided that this case will be resolved as "Won't Fix".This does not mean that the issue isn’t a legitimate bug, but instead that we are not able to prioritize the fix, at this time.
The case will now be closed, and will not be reopened unless new information arises that would change the issue’s impact. Please let us know if you have additional information relating to the severity of this bug.