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
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.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment