Search Issue Tracker

By Design

Votes

0

Found in

5.6.1f1

Issue ID

935398

Regression

No

First two frames worth of Update calls have 0 length Time.deltaTime values in Editor if first pausing and when entering playmode

Themes

-

How to reproduce:
1. Open the users attached project and "Repro" scene
2. Inspect the "GameObject" in Hierarchy, it will provide the length of first 10 frames in Time.deltaTime
2. Pause the Editor and enter Playmode
3. Unpause it

Expected result - Time.deltaTime shouldn't return 0 length frames
Actual result - First two frames of the Time.deltaTime are returned as 0

Reproducible with - 2017.3.0a7, 2017.2.0b11, 2017.1.1p1, 5.6.3p3

By design --> The player loop updates the game twice without passing time before properly starting. This shouldn't have any impact in users' scripts.

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.