Android build straight from the Convai SDK demo scene issue

Original Discord Post by therealurself | 2024-08-07 09:24:52

I made the Android build straight after downloading and importing the convai sdk from asset store to an empty project and created an Android build to check if the convai can be triggered and do the conversation. I am not able to. I understand that the controller isnt added for it. But atleast there should have been a way to trigger the AI conversation to check.

Reply by k3kalinix | 2024-08-07 09:25:25

Hello <@81694064725983232>,

Reply by therealurself | 2024-08-07 09:25:33

Hi <@1023671043287699568>

Reply by k3kalinix | 2024-08-07 09:26:01

Did you build the Convai Mobile Demo Scene?

Reply by therealurself | 2024-08-07 09:26:56

Where can I find the Convai Mobile Demo Scene?

Reply by therealurself | 2024-08-07 09:27:23

I used the Convai Demo - All Features

Reply by k3kalinix | 2024-08-07 09:27:41

Assets\Convai\Demo\Scenes\Mobile

Reply by therealurself | 2024-08-07 09:28:00

Oh ok let me look into that Thanks

Reply by therealurself | 2024-08-07 09:29:46

Are there any changes in the way both the demos are working. I basically have integrated the sdk to my working project that has the way to trigger the interaction, but I am currently facing an issue where the game works fine on Unity editor but I dont get a response when I use the same build in Android

Reply by k3kalinix | 2024-08-07 09:30:15

No, please build Mobile demo scene.

Reply by therealurself | 2024-08-07 09:39:18

Actually my issue is not related to demo scene. I have convai integrated to our project and have a way to trigger the Interaction but on Android I dont get the response, I have not debugged the issue. but if you can provide a quick reasoning for this issue. I can work in that direction.Attached in the screenshare from our Android device

Attachments:

Reply by therealurself | 2024-08-07 09:40:06

In the meanwhile I am looking into the Mobile demo scene now

Replying to therealurself’s Message

Reply by therealurself | 2024-08-07 09:39:18
Actually my issue is not related to demo scene. I have convai integrated to our project and have a way to trigger the Interaction but on Android I dont get the response, I have not debugged the issue. but if you can provide a quick reasoning for this issue. I can work in that direction.Attached in the screenshare from our Android device

Reply by k3kalinix | 2024-08-07 09:42:33

Please share your androd logs using logcat.

Reply by therealurself | 2024-08-07 09:46:53

Will share. Just want to check is there a different scripts that are used for Mobile and Desktop? I had the similar issue with the Unity WebGL as well. There I see the code for ConvaiNPC and ConvaiGRPC are totally different as compared to desktop environment.

Reply by k3kalinix | 2024-08-07 09:47:54

WebGL is completely different platform.

Reply by therealurself | 2024-08-07 09:49:06

So no platform specific code or implementation for Desktop and Mobile?

Reply by k3kalinix | 2024-08-07 09:49:26

For mobile, there are no changes except for the mobile talk button script.

Reply by k3kalinix | 2024-08-07 09:49:45

It is not a blocker issue.

Reply by therealurself | 2024-08-07 09:49:45

type should have worked then correct?

Reply by k3kalinix | 2024-08-07 09:49:53

Yes