Unity Issue Tracker - "Handles.Repaint called outside an editor" error is logged when opening an Asset in Windows Explorer if previously selected GameObject has custom Handles shown in Scene View
Closed
UUM-51218
"Handles.Repaint called outside an editor" error is logged when opening an Asset in Windows Explorer if previously selected GameObject has custom Handles shown in Scene View
Unity: Scene Tooling
Won't Fix
2023.3.X
2023.2.X
2023.2.0a15 onwards
Thanks for reporting this, this bug has already been fixed from other PR.
I tested on 2023.2.5f1 and was not able to repro the bug.
I also tested on lastest 2023.3.0 and the problem does not appear anymore.
How to reproduce:
1. Open the project linked in Comments
2. Open Scene "ConnectedSystems"
3. In the Hierarchy select "AlienPrototype" and make sure that Scene View is visible in the Editor
4. In the Project Browser right-click an Asset and select "Show in Explorer"
5. Observe the Console
Actual result: "Handles.Repaint called outside an editor OnGUIUnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)" is printed in the Console multiple times
Expected result: Asset is opened in Explorer without errors logged