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
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Add comment