What causes push to talk to fail in Convai

I’ve been using the Convai plugin in Unreal Engine (5.5.4) to develop an AI to chat with. I implemented metahuman for the 3D model and used all the required components in the correct actors to achieve this.

Unfortunately, mic input only works rarely. While I can confidently type messages to the AI, attempts to speak are mostly unsuccessful. I’ve verified microphone settings and tested all available devices, changed settings in both Unreal and Windows, started a new unreal project, and yet they rarely listen. I can never hear my voice back when I test in f10 settings but regardless, the AI can only hear me sometimes. The push-to-talk function (holding “T”) also doesn’t work either. In the rare moments I can speak to the AI, they are always listening.

In blueprints, I discovered several ghost nodes causing broken yet successfully compiled scripts. I’ve included screenshots, as I believe they may be related to the issues. These scripts are pre-built from the components and are unedited.

I installed the latest version of the plugin directly from epic games, details stated it supports unreal versions 5.2 - 5.7.

What may be the solution to these issues? I hope this can be resolved soon please.

Hello,

Welcome to the Convai Developer Forum!

Which version of the Convai Unreal Engine plugin are you currently using with UE 5.5.4?

Hi, I installed the plugin directly from Fab in the epic games launcher. It mentions it supports Unreal 5.2 - 5.7.

Yes, I understand, but please share the version. Check the Plugins tab.

I understand, I’m using version 5.5.0.

This is not a Convai plugin version. Could you please check under the Plugins tab?

Apologies for the misunderstanding, the version is 4.0.0-beta.11

How did you set up the player and character BP?

I set the parent class for the player as Convai Base Player. For the metahuman, I set Convai Base Character as the parent class, along with the chatbot and facesync components.

I followed this short tutorial - https://www.youtube.com/watch?v=4fMCKkrfyaA

We are not changing the parent class in the video. Please watch carefully.

I must’ve picked that up from an older tutorial I attempted (https://www.youtube.com/watch?v=HHJvY9dmwwg) as an alternative solution. Is changing the parent classes a cause? What should they be set to?

Please follow this tutorial.

Hi, I reinstalled the plugin, created a new project and followed the tutorial exactly. Unfortunately still having the same issues. Push-to-talk doesn’t work, only able to type to the AI, and the same ghost nodes are found in BP.

I also discovered that if I change the mic input device from settings (f10) while playing it will cause unreal to crash as soon as I stop playing. I then receive the following error message -

Assertion failed: CaptureSynth.IsStreamOpen() [File:E:\Output\Convai-UnrealEngine-SDK-V4_Binaries\V5.5\Convai\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiAudioCaptureComponent.cpp] [Line: 422]

UnrealEditor_Convai!UConvaiAudioCaptureComponent::OnEndGenerate() [E:\Output\Convai-UnrealEngine-SDK-V4_Binaries\V5.5\Convai\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiAudioCaptureComponent.cpp:422]
UnrealEditor_AudioMixer
UnrealEditor_AudioMixer
UnrealEditor_AudioMixer
UnrealEditor_AudioMixer
UnrealEditor_AudioMixer
UnrealEditor_AudioMixer
UnrealEditor_AudioMixer
UnrealEditor_AudioMixerCore
UnrealEditor_AudioMixerCore
UnrealEditor_AudioMixerCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

Did you enable push to talk?

Yes it is enabled. Upon restarting the project after the crash it seems to be working now. Unreal has detected another mic device as the default. I restarted the project once more to confirm and push to talk is still working.

Regardless, do you know what could be the reason for the error above and why the restart suddenly solved the issue?

Please try the latest version of the Convai plugin. If the issue continues, please share a new post with the logs so we can investigate further.