alessandroTironi / Unity-DialogflowV2Agents

A client for Google Dialogflow V2 APIs that allows to model conversational agents.
MIT License
27 stars 9 forks source link

WebGl Builds, audio issues #13

Open Peter-Bonnebaigt opened 8 months ago

Peter-Bonnebaigt commented 8 months ago

Hello,

I have been using this successfully to implement Dialogflow agents in my Unity games. Thank you for your work in creating it!

I've had an issue with detecting intents from audio specifically on Web builds of my project, I wondered if you have been able to use this on web builds?

The audio is recorded fine and I can see the correct information is being sent to:

client.DetectIntentFromAudio(audioString, sessionName , languageCode);

However, the response then returns null with this issue - ArgumentNullException: Value cannot be null.

It doesn't look to have made it to dialogflow when I log in to the dialogflow console.