This repository was archived by the owner on Aug 21, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Editor crashes #11
Copy link
Copy link
Open
Description
I'm sometimes getting this error, which crashes the component editor, making it unavailable.
IndexOutOfRangeException: Index was outside the bounds of the array.
GoogleCloudStreamingSpeechToText.StreamingRecognizerEditor.OnInspectorGUI () (at C:/Users/user/project/Library/PackageCache/[email protected]/Editor/StreamingRecognizerEditor.cs:34)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <98effce1f3cf489fb7ce6830410f351c>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
One quick fix for me was to comment away lines 34-35 in StreamingRecognizerEditor.cs. When unity reloads the script it works again, even though the lines are added back in.
Windows 10 unity 2020.3.18f1
Metadata
Metadata
Assignees
Labels
No labels