Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Unity search window with active search causes error message after recompile

Discussion in 'Immediate Mode GUI (IMGUI)' started by Destruxion, Apr 30, 2023.

  1. Destruxion

    Destruxion

    Joined:
    Jun 5, 2019
    Posts:
    36
    Hope this is the correct subforum to ask about the following issue.

    As long as the search window is open (floating or docked) and there is a search string set I get the following error message after a recompile has finished:

    Unable to use a named GUIStyle without a current skin. Most likely you need to move your GUIStyle initialization code to OnGUI
    UnityEditor.EditorApplication:Internal_InvokeTickEvents ()

    Clearing the search string will solve the issue.

    Tested with Unity 2022.2.14 - 17 in an empty project.

    Is anyone else getting this?

    upload_2023-4-30_16-45-2.png
     
  2. vycma

    vycma

    Joined:
    Feb 1, 2023
    Posts:
    3
    I can confirm this as well for 2023.1.1f1.
     
  3. Ematte

    Ematte

    Joined:
    Jul 7, 2023
    Posts:
    1
    Also getting this with 2022.3.4f1
     
  4. stacywrekt

    stacywrekt

    Joined:
    Dec 7, 2023
    Posts:
    1
    same on 2022.3.15f1
     
  5. Epsilon_Delta

    Epsilon_Delta

    Joined:
    Mar 14, 2018
    Posts:
    254
    Same on 2022.3.0
     
  6. tonytopper

    tonytopper

    Joined:
    Jun 25, 2018
    Posts:
    220
    Getting in 2022.3.12
     
    F1Soda likes this.