cancel
Showing results for 
Search instead for 
Did you mean: 

Voice SDK for text-to-speech on WebGL

Tamulur
Explorer

I'm trying to use the text-to-speech on WebGL. It seems the code does have defines for WebGL so it is supposed to work, but when I build I get the error:

Oculus\Voice\Lib\Wit.ai\Scripts\Runtime\WitRequest.cs(360,13): error CS0103: The name 'StartUnityRequest' does not exist in the current context

The code that throws the error:

#if UNITY_WEBGL && !UNITY_EDITOR
       StartUnityRequest(uri, headers);
#else

It seems StartUnityRequest is not defined anywhere. Did they forget to include some code in the newest version?

2 REPLIES 2

Oscar22906
Honored Guest

I'm getting the same error, did you find a solution?

Tamulur
Explorer

Unfortunately not. I don't use Meta's TTS on WebGL.