Error! See logs in Window -> Output Log Issue

Original Discord Post by pochirojas | 2024-06-05 21:56:20

Hello all i was testing out my implementation and noticed that after not talking for a long time to the AI I get this warning in the chat, I initially thought it was a chat timeout, so i tried reloading the scene after a 5 minute wait for the player to respond

Images:

Reply by k3kalinix | 2024-06-05 21:57:31

<@&1163218672580575372>

Reply by freezfast | 2024-06-06 10:57:57

Hi <@363750707381403649>, could you share the output logs when the warning appears?

Reply by pochirojas | 2024-06-06 22:00:35

Images:

Reply by pochirojas | 2024-06-06 22:03:48

Attachments:

Reply by pochirojas | 2024-06-06 22:04:04

<@365628745886859267>

Reply by freezfast | 2024-06-06 23:53:56

Hi <@363750707381403649>, it seems the start talking is called and finish talking is not called afterwards, double chech the logic of triggering these functions

Reply by pochirojas | 2024-06-07 17:25:51

Hi <@365628745886859267> i did a test with breakpoints to check out the flow and this is how it looks like, both methods are called and execute, and while they execute the error occurs

Order of Calls

Talk Force Off
Ready To Talk

ERROR

Talk Force Off
Ready to Talk
Talk Force Off
Ready to Talk
ERROR
Talk Force Off

Reply by pochirojas | 2024-06-10 20:41:03

<@365628745886859267>

Reply by freezfast | 2024-06-10 20:43:41

Hi <@363750707381403649>, I am not sure what to make of those nodes, could you track when start talking and finish talking are being called, these are the most important nodes

Reply by pochirojas | 2024-06-13 15:09:43

Those Nodes are the methods i have which are linked to start and stop talking regardless ill give it another try with breakpoints in those specific nodes so its easier for you to understand the order of execution

Reply by pochirojas | 2024-06-17 14:34:26

Stop talking
Start Talking
Stop Talking
Start Talking

ERORR is THROWN

Stop Talking

<@365628745886859267> this is the order of execution of those nodes

Reply by freezfast | 2024-06-21 11:50:11

Seems the issue happens after leaving start talking on for too long

Reply by freezfast | 2024-06-21 11:51:22

Finish talking needs to be called within a few minutes after start talking is called. Otherwise, the connection closes automatically and thus the warning

This conversation happened on the Convai Discord Server, so this post will be closed.