Post
by Sumosake » Thu Sep 19, 2024 11:48 am
I am using an ElevenLab: Voice. Edwin
ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
System.String.Substring (System.Int32 startIndex, System.Int32 length) (at <8ce0bd04a7a04b4b9395538239d3fdd8>:0)
System.String.Substring (System.Int32 startIndex) (at <8ce0bd04a7a04b4b9395538239d3fdd8>:0)
PixelCrushers.DialogueSystem.OpenAIAddon.ElevenLabs.GenerateVoicePanel.SaveAudioClip () (at Assets/Plugins/Pixel Crushers/Dialogue System Addon for OpenAI/Scripts/Editor/Voice/GenerateVoicePanel.cs:233)
PixelCrushers.DialogueSystem.OpenAIAddon.ElevenLabs.GenerateVoicePanel.DrawAcceptButton () (at Assets/Plugins/Pixel Crushers/Dialogue System Addon for OpenAI/Scripts/Editor/Voice/GenerateVoicePanel.cs:173)
PixelCrushers.DialogueSystem.OpenAIAddon.ElevenLabs.GenerateVoicePanel.Draw () (at Assets/Plugins/Pixel Crushers/Dialogue System Addon for OpenAI/Scripts/Editor/Voice/GenerateVoicePanel.cs:86)
PixelCrushers.DialogueSystem.OpenAIAddon.DialogueSystemOpenAIWindow.OnGUI () (at Assets/Plugins/Pixel Crushers/Dialogue System Addon for OpenAI/Scripts/Editor/DialogueSystemOpenAIWindow.cs:128)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <51e2d50a25be4e0e8f1b2720c516435c>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <51e2d50a25be4e0e8f1b2720c516435c>:0)
UnityEditor.DockArea.OldOnGUI () (at <51e2d50a25be4e0e8f1b2720c516435c>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.IMGUIContainer.ProcessEvent (UnityEngine.UIElements.EventBase evt) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase evt) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <a0f48008d3514033961b6cfbfec6a87c>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <4746967b7155497e87da4dde169a2f21>:0)
Thanks