Search Unity

EditorGUIUtility Thread Issue

Discussion in 'Scripting' started by kaffiene, Apr 20, 2018.

  1. kaffiene

    kaffiene

    Joined:
    May 26, 2013
    Posts:
    21
    We have noticed that in our game, adding a particular game object (one which handles OnInspectorGUI) causes the EditorGUIUtility thread to persist after the game has been exited by pressing the start button in the editor. When this happens, we can't restart the game.

    Does anyone have any idea what we could be doing that is keeping the EditorGUIUtility thread from exiting?

    Other objects which handle OnInspectorGUI do not cause this issue
     
  2. Doug_B

    Doug_B

    Joined:
    Jun 4, 2017
    Posts:
    1,585
    Hi kaffiene,
    It could be a number of things. If you posted the relevant code, that may help in providing a reason.

    Also, have you tried removing parts of your GameObject one by one to find out which part of it is actually causing the problem?