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
- Crash on ScheduleGenerateTilingShape when modifying PolygonCollider2D path count and setting path vertices
- Crash when a scene is created with LocalPhysicsMode::Physics3D
- [HDRP] Light doesn't bounce off terrains
- Unity Hub opens instead of the Unity Editor when launching a project from a Windows command line if a backslash is added to the end of the project path
- "ParseErrorException" is thrown when parsing a float with a very small value from JSON
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.