maldum
July 14, 2023, 12:35pm
1
Hello,
Whenever I open Input Action, the search bar and listening button won’t show up fully, and I received the warning message below:
Unable to find style ‘ToolbarSeachTextField’ in skin ‘DarkSkin’. Used
UnityEngine.GUIUtility:ProcessEvent (int, intptr, bool&).
Even if I switch the editor theme to light, the same message appears:
Unable to find style ‘ToolbarSeachTextField’ in skin ‘LightSkin’. Used
UnityEngine.GUIUtility:ProcessEvent (int, intptr, bool&).
I am using Unity 2022.3.4f1 and Input System package 1.6.1
unity for some reason renamed all styles contaning “Seach” in name to “Search”, so versions above 2021.3.14, i think, won’t work with editor scripts that uses this style
1 Like
Same problem here, I am using 2022.3.5f1*. Did you find a work around?
Warnex
October 30, 2023, 9:27pm
4
I just added the “r” again and it works for now, no other conflicts or problems found.
#if UNITY_2023_2_OR_NEWER || UNITY_2021_3_28 || UNITY_2022_3_1
public static readonly GUIStyle toolbarSearchField = "ToolbarSearchTextField";
#else
public static readonly GUIStyle toolbarSearchField = "ToolbarSearchTextField";
#endif
This issue is fixed with Unity 6-0-Preview
I’m having this issue with Unity 2022.3.261f and InputSystem 1.7.0
Clicking on the warning takes me to the AdvancedDropDownGUI.cs file
Like @Warnex and @Gariest_Gary have mentioned it’s related to the unity version if else regions.
I thus did this change:
So that the string with the ‘r’ in search is triggered.
For newbies to package modification like me I followed this guide for allowing editing of unity packages:
Just makes me think I should just upgrade my project to an 2023 LTS version.
LSchou
January 16, 2024, 8:17am
5