[WebGL + Convai Narrative Design] Parameters arriving empty when calling a function in Unity

Hi,
I’m working on a Unity WebGL project using Convai with the Narrative Design tool. Previously, I could send attributes from the narrative flow to Unity without any issues, but now, although the function is being called, the parameter arrives empty.

For example, in the narrative flow, I only send the action RestaurantSelected and the chosen restaurant, but in Unity, the parameter comes through as null or an empty string.

Unity is definitely calling the function, but it doesn’t receive the value:

public void RestaurantSelected(string data)
{
    Debug.Log("Data received: " + data);
}

This used to work before, but now it doesn’t.
Has anyone else experienced this issue with WebGL + Convai Narrative Design? Could this be related to a change in Convai or in how attributes are sent?

Thanks in advance for any help.

Hello @Lorena_Munoz,

Welcome to the Convai Developer Forum!

Could you please share a video showing the issue so we can better understand it? Additionally, please provide the character ID so we can investigate further.

Hi, can I send that to you by email?

1 Like