Hello! I’m using Microsoft Azure Speech SDK
in my Unity game (the player is controlled by you speaking into the microphone). I’m getting this error when I export the game via WebGL:
Assets/Scripts/GameSceneScripts/VoiceRecognition.cs(10,17): error CS0234: The type or namespace name 'CognitiveServices' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Am I missing something here? I’m bringing in the Speech SDK like this in the code:
using Microsoft.CognitiveServices.Speech;
It’s compatible with other formats and I’m not getting this error but I need to fix this for WebGL
specifically. Any help would be greatly appreciated!