Unreal crashing when adding Character ID to metahuman

Hi there,

I’ve been following the tutorial docs and youtube tutorials to test whether Convai would be suitable for a work project. Everything works fine until I add the character ID for the first time, in which case Unreal crashes.

According to the crash logs, the crash always occurs after the following line:

ConvaiChatbotComponentLog: Auto Initializing Session

I’ve double checked my API key & internet access. Changing my player character to a Convai base player & adding convai to the metahuman works just fine, its only at the final step when I add in my character ID code that it crashes on play. I’ve also tested this with the default character ‘Lexi’s ID, which also causes a crash.

Not sure where to go from here. Using Unreal 5.6 btw. Any help appreciated!

Alright, I managed to fix this issue myself after looking more closely at the crash logs.

Unreal was unable to access the ‘convai_client.dll’ and its associated files from the subfolder C:\Program Files\Epic Games\UE_5.6\Engine\Plugins\Marketplace\AIforNPC6396182c7afaV7\Source\ThirdParty\ConvaiWebRTC\lib\release\win64

When I copied and pasted the entire folder contents into ~\AIforNPC6396182c7afaV7\Binaries\Win64 it worked fine.

Bit annoying but we got there in the end. Going to leave this post up in case anyone else encounters this.