Convai Unity sdk 3.0.1 gives weird response from the AI

Reply by k3kalinix | 2024-08-29 07:28:16

It seems that you are sending empty inputs

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-08-29 07:27:41
Can you please test on playground?

Reply by therealurself | 2024-08-29 08:14:05

what is playground?

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-08-29 07:28:16
It seems that you are sending empty inputs

Reply by therealurself | 2024-08-29 08:14:22

oh let me check

Replying to therealurself’s Message

Reply by therealurself | 2024-08-29 08:14:05
what is playground?

Reply by k3kalinix | 2024-08-29 08:15:44

Reply by therealurself | 2024-08-29 08:36:38

oh yes. I forgot :slightly_smiling_face:

Reply by therealurself | 2024-08-29 08:37:35

So you suggest I dont update to 3.1.0?

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

This is a minor update.
I see you made some customizations, so you might lose some changes.

If you are using Github, you can open a new branch and try.

Reply by therealurself | 2024-08-29 09:06:05

I just want to check with you

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

I see that ConvaiPlayerInteractionManager subscribes for onSubmit event.
Now if there are 4 AI characters in the game then currentInputField will trigger onSubmit for 4 characters and hence will send HandleInputSubmission 4 times

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

I see that is the reason everytime I send a Hi since my scene has 4 AI characters there are 4 hi message sent

Reply by k3kalinix | 2024-08-29 09:09:01

<@&1163218322200989806>

Reply by therealurself | 2024-08-29 09:17:28

<@1023671043287699568> I think the issue is in my code

Reply by therealurself | 2024-08-29 09:17:49

I will share the update in something

Reply by therealurself | 2024-08-29 09:21:58

ok I found the issue

Reply by therealurself | 2024-08-29 11:54:50

Hi any idea why the sessionID will not created?

Replying to k3kalinix’s Message

Reply by k3kalinix | 2024-08-29 09:28:49
What was the issue?

Reply by therealurself | 2024-08-29 11:55:27

The OnSubmit was triggered by all the NPCs

Reply by therealurself | 2024-08-29 11:55:50

There are 4 NPCs and I had subscribed for the events from all 4 NPCs

Reply by therealurself | 2024-08-29 11:56:02

and hence the Message was sent 4 time

Reply by therealurself | 2024-08-29 11:56:11

but I am still facing the issue

Replying to therealurself’s Message

Reply by therealurself | 2024-08-29 11:54:50
Hi any idea why the sessionID will not created?

Reply by k3kalinix | 2024-08-29 16:31:51

Maybe you don’t call initializeSession function?