Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.3.37f1

2021.3.8f1

2022.1.12f1

2022.2.0b3

2023.1.0a4

2023.2.0a1

Issue ID

UUM-10662

Regression

No

Time.captureDeltaTime is ignored when paused and stepping frame-by-frame

-

How to reproduce:
1. Open the attached project ("IN-8527-repro.zip")
2. Enter Play Mode and observe that Time.deltaTime is equal to Time.captureDeltaTime
3. Pause, use the Step button to advance by one frame, and observe that Time.deltaTime immediately changes to the value of Time.fixedDeltaTime

Expected result: When Time.captureDeltaTime is set to a non-zero value, it should take precedence over Time.fixedDeltaTime when Paused in Editor

Actual result: Time.captureDeltaTime causes the engine to report a specific, fixed Time.deltaTime to all scripts on Update, regardless of how much actual time has elapsed

Reproducible with: 2020.3.37f1, 2021.3.8f1, 2022.1.12f1, 2022.2.0b3, 2023.1.0a4

Reproducible on:
macOS 12.4 (Intel)

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

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.