Closed pronksc24 closed 1 year ago
@pronksc24 Thanks for the report. From the stack trace, I can see there is some issue with the speech synthesis, but cannot see the reason yet.
Could you please provide following information? 1) What is the Speech SDK version? 2) What is the Unity version? 3) Could you provide Speech SDK logs?
Hello, it was the sdk version, its working, thank you.
Hi,
Im developing an app for android and ios. Im using azure services for speech to text and text to speech, and when I test in the editor and build for ios it works fine. When I build for iOS I get this error:
UnityEngine.Events.UnityAction:Invoke() UnityEngine.Events.UnityEvent:Invoke() UnityEngine.EventSystems.EventFunction
1:Invoke(T1, BaseEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean) UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents() UnityEngine.EventSystems.StandaloneInputModule:Process()2023-06-02 11:20:22.703587+0100 tobiTestEvent[9967:7466737] [AudioConverter] CompositeAudioConverter.cpp:1073 kAudio_ParamError: packet description 1 of 2: range 4324145664-4324145666, 576 data bytes ApplicationException: Exception with an error code: 0x3 at Microsoft.CognitiveServices.Speech.Internal.SpxExceptionThrower.ThrowIfFail (System.IntPtr hr) [0x00000] in <00000000000000000000000000000000>:0 at Microsoft.CognitiveServices.Speech.SpeechSynthesizer+<>cDisplayClass77_1.b1 () [0x00000] in <00000000000000000000000000000000>:0
at System.Action.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at Microsoft.CognitiveServices.Speech.SpeechSynthesizer.DoAsyncSynthesisAction (System.Action synthImplAction) [0x00000] in <00000000000000000000000000000000>:0
at Microsoft.CognitiveServices.Speech.SpeechSynthesizer+<>cDisplayClass77_0.b 0 () [0x00000] in <00000000000000000000000000000000>:0
at System.Func
1[TResult].Invoke () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task
1[TResult].InnerInvoke () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.Execute () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ContextCallback.Invoke (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTaskSlot) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.Tasks.Task.ExecuteEntry (System.Boolean bPreventDoubleExecution) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <00000000000000000000000000000000>:0 at BotController+<playStep>d__56.MoveNext () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ContextCallback.Invoke (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+MoveNextRunner.Run () [0x00000] in <00000000000000000000000000000000>:0 at System.Action.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.SendOrPostCallback.Invoke (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <00000000000000000000000000000000>:0 at System.Threading.SendOrPostCallback.Invoke (System.Object state) [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.WorkRequest:Invoke() UnityEngine.UnitySynchronizationContext:Exec()
I don't know where this comes from, I already had an older version of this program that worked fine.