Search Issue Tracker

Active

Votes

0

Found in

2022.3.57f1

6000.0.37f1

6000.1.0b5

6000.2.0a2

Issue ID

UUM-96465

Regression

No

Time.realtimeSinceStartupAsDouble is paused when the system is put to sleep

-

Reproduction steps:
1. Open the attached “UnityWebGL-LoadingTest-master” project
2. In the Build settings, make sure that WebGL platform is selected
3. Build And Run the project
4. In the WebGL player, press the white circle in the top right corner to open the console
5. In the console, type “runUnityCommand("LogInitializationTime");” command
6. Observe the time deviation between “UTC time since initialization” and “Unity Time since initialization”, from the resulting message
7. Put the computer to sleep for around 1 minute
8. Repeat steps 5 and 6

Expected result: The time deviation in step 6 and 8 should be 0
Actual result: The time deviation in step 8 is not 0

Reproducible with: 2022.3.57f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2

Reproducible on: macOS Sequoia 15.3 (M1 Max)
Not reproducible on: Windows 11, Ubuntu 24.04

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.