convAIClient not initilised and it is undefined

The above image is code snippet. this is the call back from Jslib , here we have zero references. same method if i call from my script talkingstatus getting true and as soon as it is true then it is getting false. so it will effect to the character animation.

Please share your code, otherwise I can’t understand the problem.

Hi, Please check this link for my script and code

Which object in your scene did you attach this script to? Did you edit the JSLIB file?

i didn’t change jslib file.
added to a gameobject no parent name as ConvaiGRPCWebAPI

Ok, could you please share the browser logs with me as a file?

localhost-1750936468944.log (298.7 KB)

any Update?

I don’t see any errors, please add this log.

 public void SetTalkingStatus(string talkingStatus)
    {
        Debug.Log(talkingStatus) // Add this

        switch (talkingStatus)
        {
            case "true":
                metarobTalkingState?.Invoke(true);
                break;
            case "false":
                metarobTalkingState?.Invoke(false);
                break;
        }
    }

@suresh_chary What do the logs show?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.