Original Discord Post by ham1ton | 2024-07-08 16:04:09
I am working with Unreal 4.27 and am having issues since a few weeks ago with receiving responses from the convai platform. Since about the middle of June the 2.6.1 plugin that is listed as compatible with 4.26 is not working properly. The issue is missed responses but when I look in my AI chat memory I can see the responses listed there as if they have been sent out. My suspicion is that something was changed a ew weeks ago that broke this older plugin. So far the support team has had me compile the latest plugin and drop the “content” folder into my project, but this didn’t work. I’ve also waited up to five minutes after a missed response but no error come in. This issue is very repeatable since it effects the 2.6.1 plugin regardless of if it’s Unreal 4.27 or 5.2. Can you please help me to get Unreal 4 back on theh compatibility list? My company really would like to see it incorporated into our commercial software product. Thanks ahead of time for any help on this issue!
Hi <@557253604939923468>, the only solution would be to build the latest plugin for 4.27, I am not sure if this is a duplicate support ticket but lf so please continue with the older one as I remember giving steps on solving the issue
Thanks for the response, I didn’t have a ticket up before but we did chat in a thread recently and you told me to swap the content folders from the new plugin built for UE4.27, but that did not work and the issue persisted. I don’t see any new posts about this issue and the old posts seem to be hidden so let me know if I missed something.
I see, the UE4.27 and 4.26 plugins had response issues that were fixed starting with 5.0, and these issues manifested more with time on these older versions. The only way to get them back to work properly is to replace code in the 4.27 version with the latest plugin code and then rebuild from source as the github guide explains. These are the most important files to investigate and copy from the newer version to the older version:
Any .h or .cpp file with the word grpc in its name
All files in the proto folder
I would also suggest not using the latest plugin version to copy these files from instead version 3.1.4 and below
<@727560782979530792> I have been super busy this week at work but will be taking some time today to look at this again. I did have some compiling issues when trying to just replace the .h and .cpp files containing GRPC in the name (specifically ConvaiGRPC.h/cpp) so I attempted to resolve them and ran out of time. I will be sure to post my log errors by end of day today (UTC-4 where I am).
<@365628745886859267> <@727560782979530792> Good news, I finally got the plugin version 3.1.4 code ported back to the 2.6.1 plugin and working on Android with the issue seemingly resolved. There were a few small issues with datatypes and dependencies. I will post my working version here so others can see what has changed. The folder I have here is the zipped up convai folder from within the Source folder in the plugin file. Just take plugin v2.6.1 and replace this folder with the one in the Source folder and it should compile and build.
Reply by ham1ton | 2024-07-12 19:43:23
<@365628745886859267> <@727560782979530792> Good news, I finally got the plugin version 3.1.4 code ported back to the 2.6.1 plugin and working on Android with the issue seemingly resolved. There were a few small issues with datatypes and dependencies. I will post my working version here so others can see what has changed. The folder I have here is the zipped up convai folder from within the Source folder in the plugin file. Just take plugin v2.6.1 and replace this folder with the one in the Source folder and it should compile and build.
Reply by st_hilton | 2024-07-14 21:15:05
Hi Justin
Many thanks for that. I tried adding it into the 2.61 version but still had problems packaging. Did you copy other files across as well?
<@727560782979530792> The lipsync plugin I’m using says v1.30.0, is that what you need? I think it’s just the latest version from what I can remember? Let me know if not I will be happy to share the one that is working for me.
Reply by st_hilton | 2024-07-15 06:05:37
<@557253604939923468> thank you! For lipsync, do you use the 4.27 latest version as well in your project folder?
Reply by freezfast | 2024-07-16 12:29:02
4.27 was using the older lipsync plugin named ConvaiOVRLipSync, you can find a quick tutorial that shows how to install it here
<@365628745886859267> I really appreciate the support on an unsupported version! I will do all I can to help keep UE4 compatibility going because for mobile VR development UE4 simply performs faster than UE5 for our product.
<@557253604939923468> you have saved me! I had to make a change to the convai.build.cs file and had to add - if (Target.Platform == UnrealTargetPlatform.Android)
{
bUsePrecompiled = false; this then enabled me to delete the intermediate files in the convai UE4 folder and then allowd for a successful build. Thank you so much for all your help on that
Reply by ham1ton | 2024-07-16 14:29:48
<@365628745886859267> I really appreciate the support on an unsupported version! I will do all I can to help keep UE4 compatibility going because for mobile VR development UE4 simply performs faster than UE5 for our product.
Reply by freezfast | 2024-07-17 12:35:28
Great to hear! We’re also starting some internal plans on getting the main code to support UE4.27 again
Reply by freezfast | 2024-07-17 12:35:28
Great to hear! We’re also starting some internal plans on getting the main code to support UE4.27 again
Reply by st_hilton | 2024-07-17 15:37:25
Great to hear! Love the product and works like a dream today for us now that the plugin is sorted - thanks <@557253604939923468> for all your help on that
If you have any other questions, please do not hesitate to ask.
We would be very grateful if you could leave a comment on our store pages with your company name or the name of your project. We value your feedback and comments as they help us improve our services and products. https://www.unrealengine.com/marketplace/en-US/product/convai/reviews