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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment