Search Issue Tracker
Third Party Issue
Votes
0
Found in
2021.3.29f1
2022.3.6f1
2023.1.6f1
2023.2.0b2
Issue ID
UUM-44768
Regression
No
GizmoManager.DrawGizmos never finishes loading when opening Scene
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/OpenMe.unity” Scene
Expected result: The Editor opens the Scene and allows to continue work
Actual result: GizmoManager.DrawGizmos never finishes loading
Reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.6f1, 2023.2.0b2
Reproduces on: Windows 10 Enterprise 21H2
Notes:
- Project has a Gizmo function to draw a trajectory using the spell system, which calls this during an OnDrawGizmos. This would hang if Time.deltaTime is 0
Add comment
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
Resolution Note:
The fault is an infinite while loop in the project code, which assumes that Time.deltaTime > 0. On the first frame, deltaTime will be 0 as there is no previous frame to calculate delta against.