Open brunoatvenosa opened 3 months ago
Hi @brunoatvenosa , thank you for reporting this issue.
First, please check that the following update is already applied to the OpenAITTSLoader in your project🙏
https://github.com/uezo/ChatdollKit/commit/308e9b0cfe2793fd16b670c4939167b759607e5c
If this happens even if it is applied, I will provide features for debug. (e.g. dump binary data of audio on error)
Hello,
Sometimes OpenAITTSLoader will produce the error
Error: Cannot create FMOD::Sound instance for clip "" (FMOD error: Error loading file. )
whenDownloadAudioClipNativeAsync
callsreturn DownloadHandlerAudioClip.GetContent(www);
The program stops executing as the last response is never cleared out of the output canvas box. I can't find a consistent way to reproduce this error, but when
{ "response_format", "wav" }
andusing (var www = UnityWebRequestMultimedia.GetAudioClip(url, AudioType.WAV))
the error is guaranteed to happenAny help is appreciated.