Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.12f1
2022.1.21f1
2022.2.0b12
2023.1.0a16
2023.2.0a1
Issue ID
UUM-17308
Regression
No
Time API breaks for exactly two frames when calling SceneManager.LoadScene()
Reproduction steps:
1. Download the attached project "Simulation-Foundation-devin-bug-report"
2. Download the attached "forTesting.zip" archive
3. Copy "forTesting" archive's contents to /Simulation-Foundation-devin-bug-report/TestFoundationProjectURP/Assets/Tests
4. Open /Simulation-Foundation-devin-bug-report/TestFoundationProjectURP Project
5. Open Assets/Tests/EmptyScene.unity Scene
6. Add open Scenes to Build by going to File > Build Settings > Add Open Scenes
7. Open Windows > General > Test Runner
8. Run “TestRunner_WithTimeScaleManipulation_AlwaysCorrectTime” PlayMode Test
Expected result: Time.deltaTime is not equal to Time.fixedDeltaTime
Actual result: Test reports “deltaTime is exactly equal to fixedDeltaTime, even though we're not in a fixed time step.” and “timeScale has been non-zero for more than one frame, yet deltaTime is 0”
Reproducible with: 2021.3.12f1, 2022.1.21f1, 2022.2.0b12, 2023.1.0a16
Could not test with: 2020.3.41f1 (error CS1061: 'Queue<ClockMsg>' does not contain a definition for 'TryDequeue' and no accessible extension method 'TryDequeue' accepting a first argument of type 'Queue<ClockMsg>' could be found (are you missing a using directive or an assembly reference?)
Reproducible on: Windows 10
Note: You can also run other tests from TestFoundationProjectURP.Tests.Runtime/TestClockProblems to see different results
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
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.