Forum Discussion

Tamulur's avatar
Tamulur
Explorer
2 years ago

Voice SDK for text-to-speech on WebGL

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