GameObjects stops reacting to Microphone

Good morning,

I have encountered an issue while creating an application which aims to have a GameObject that needs to react to the user’s microphone while the player speaks to the Convai NPC and outside the conversation.

In details, I have a GameObject that (as of now) just needs to listen to the player audio and change it’s dimensions depending on the volume. Outside the Convai environment, the objects and the code related work fine.

What happens is, as I start the application, the Objects works fine and reacts to the player mic volume correctly. When I first start a conversation with the Agent, pressing the TalkKey, the objects still works, however it stops working as soon as I release the TalkKey.

After my first “conversation” with the agent, the Objects reacts only if I again press the TalkKey to talk to the agent, as if the Microphone stops detecting sounds through the whole application unless I press the TalkKey.

Is there a way to give back the microphone “priority” so that it is still be able to hear the player? I have tried initializing again the microphone in the GameOject code but to no avail.

Thank you in advance! :slight_smile:

Hello @Leonardo_Saitta,

Welcome to the Convai Developer Forum!

To better understand the issue, could you please share a video demonstrating the behavior? This will help us analyze the problem and provide a more effective solution.

Looking forward to your response! :blush: