Unity Issue Tracker - Game view is rendering GameObject outside the window when moving the object in the Scene view
Closed
UUM-35669
Game view is rendering GameObject outside the window when moving the object in the Scene view
Unity: Scene View
Won't Fix
2023.2.X
2023.1.X
2022.2.X
2022.2.0a4 onwards
This is caused by draw functions (e.g. Graphics.DrawMeshNow) being called outside of the Repaint event of OnSceneGUI.
Reproduction steps:
1. Open the attached project "GameViewRender"
2. Open the "Assets/Scene/E3_09_LnL" scene
3. In the hierarchy window select the "Sphere" GameObject
4. Move the selected GameObject in the Scene view
5. Inspect the whole Editor window
Expected result: The Game view is rendering the GameObject without any flickers and random offsets
Actual result: The Game view is rendering the GameObject all over the Editor window in random position each frame