Search Issue Tracker

Fixed

Fixed in 2021.3.46f1, 2022.3.52f1, 6000.0.25f1, 6000.1.0a2, 7000.0.0a14

Votes

0

Found in

2021.3.24f1

2022.3.39f1

6000.0.0b11

7000.0.0a1

Issue ID

UUM-35772

Regression

No

The Global shader variable unity_DeltaTime.x value does not match the Time.deltaTime value when compared via script

-

Reproduction steps:
1. Open the attached project “DeltaTimeProject”
2. Open the 'Assets/DeltaTimeIssueTest.unity' scene
3. Enter Play Mode
4. Observe the Console Window

Expected result: The Time.deltaTime value is equal to unity_DeltaTime.x value
Actual result: The Time.deltaTime value is different from the unity_DeltaTime.x value

Reproducible with: 2020.3.46f1, 2021.3.24f1, 2022.2.17f1, 2023.1.0b14, 2023.2.0a13

Reproducible on: Intel macOS 13.3.1

  1. Resolution Note (fix version 7000.0.0a14):

    Fix the extra clamping of delta time value assigned to "unity_DeltaTime"

  2. Resolution Note (fix version 6000.1.0a2):

    Fixed the over-clamping of delta time value applied to "unity_DeltaTime"

  3. Resolution Note (fix version 6000.0.25f1):

    Fix the over-clamping of delta time value applied to "unity_DeltaTime"

  4. Resolution Note (fix version 2022.3.52f1):

    Fix the over-clamping of delta time value applied to "unity_DeltaTime"

  5. Resolution Note (fix version 2021.3.46f1):

    Fix the over-clamping of delta time value applied to "unity_DeltaTime"

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.