generated from RageAgainstThePixel/upm-template
-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreateSpeechAsync doesn't work on WebGL builds #134
Labels
bug
Something isn't working
Comments
Are you running this in local host? |
Due to CORS policy of local storage in local WebGL builds you will get the generated clip however it will not be downloaded using UnityWebRequest until you run it out of localhost, on a server. |
I am hosting on GitHub Page: |
Okay, likely related to RageAgainstThePixel/com.utilities.rest#51 |
Duplicate of #130 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug Report
Overview
openAI.AudioEndpoint.CreateSpeechAsync throw the following error:
Likely due to some limitation of WebGL
To Reproduce
Steps to reproduce the behavior:
Call CreateSpeechAsync using something similar to the sample code in README
Expected behavior
I should get an audioClip and its path in return as worked in editor and other platforms
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: