Original Discord Post by nathansrig | 2024-07-19 16:48:41
Hi, I’m trying to get two convai characters to start talking to eachother a few moments before the player arrives. This is in Unreal. The convai stuff doesn’t seem to activate until I’m within a certain range. I thought I saw a parameter for this somewhere but can’t seem to find it now.
Hi <@657352508288663552>, do you mean the NPC2NPC system? you can check this tutorial out as well as try out the sample UE5.3 project, finally, it is worth mentioning that there was a crash issue when interrupting the characters, this is fixed on our latest github commit, you can see how to build the latest version of the plugin here
Embedded Content: AI NPCs Talking With Each Other | Convai Unreal Engine NPC to NPC t…
Characters in game worlds powered by Convai can chat with each other, share ideas, and even get another NPC to carry out actions. This tutorial showcases how you can add simple blueprints to add this functionality and even provide topics that these characters will talk about. More updates on this feature will be coming out soon along with integr…
Link: https://www.youtube.com/watch?v=tJ5DLgBat5I
P:\UnrealInstall\UE_5.4\Engine\Source\Runtime\Core\Public\String\FormatStringSan.h(99): error C2338: static_assert failed: ‘’%s’ expects TCHAR*; use ‘%hs’ for const char*.’
P:\UnrealInstall\UE_5.4\Engine\Source\Runtime\Core\Public\String\FormatStringSan.h(99): note: the template instantiation context (the oldest one first) is
P:\ConvaiBuild\Convai-UnrealEngine-SDK\Output\Convai-UnrealEngine-SDK\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiGRPC.cpp(1024): note: see reference to class template instantiation ‘UE::Core::Private::FormatStringSan::TPresentErr<1>::TErrMsg<UE::Core::Private::FormatStringSan::TAtArgPos<2>>’ being compiled
Error executing C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\cl.exe (tool returned code: 2)
Reply by nathansrig | 2024-07-23 20:07:19
P:\UnrealInstall\UE_5.4\Engine\Source\Runtime\Core\Public\String\FormatStringSan.h(99): error C2338: static_assert failed: ‘’%s’ expects TCHAR*; use ‘%hs’ for const char*.’
P:\UnrealInstall\UE_5.4\Engine\Source\Runtime\Core\Public\String\FormatStringSan.h(99): note: the template instantiation context (the oldest one first) is
P:\ConvaiBuild\Convai-UnrealEngine-SDK\Output\Convai-UnrealEngine-SDK\HostProject\Plugins\ConvAI\Source\Convai\Private\ConvaiGRPC.cpp(1024): note: see reference to class template instantiation ‘UE::Core::Private::FormatStringSan::TPresentErr<1>::TErrMsg<UE::Core::Private::FormatStringSan::TAtArgPos<2>>’ being compiled
Error executing C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\cl.exe (tool returned code: 2)
Reply by freezfast | 2024-07-23 20:21:55
Hi <@657352508288663552>, this is an issue on the latest msvc compiler, <@1216254232957685765> please provide steps on how to solve