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
- Editor freezes when opening a scene containing a Timeline
- The Capacity field in the “Particle System Info“ is not updated when changing the Visual Effects Graph is not saved
- [VFXG] Setting an exposed texture to none assigns a random texture
- Rigidbody2D with interpolation position breaks when rotation is set and Time.timeScale is adjusted
- Non-bold Japanese characters become bolder when the first button has those characters in bold in a custom window rootVisualElement
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.