K3
August 23, 2024, 2:14pm
1
Original Discord Post by newbietechbro | 2024-08-23 14:14:25
In my app, when I unload a convai AR scene and reload it, when the character starts talking in the reloaded scene, the chat UI text/transcript doesn’t appear. The only way I can get it to reappear is if I speak into the microphone to trigger the transcript again. Is this a bug?
K3
August 23, 2024, 5:34pm
2
Reply by newbietechbro | 2024-08-23 17:34:12
^This only occurs for the chatboxui, but not the other two
K3
August 23, 2024, 6:35pm
3
Reply by k3kalinix | 2024-08-23 18:35:38
Could you please share a video?
K3
August 24, 2024, 2:33pm
4
Reply by newbietechbro | 2024-08-24 14:33:55
When the scene is loaded again, the npc starts talking but the chat box ui text doesn’t reappear. But this doesn’t happen for the other chat UI’s
Attachments:
K3
August 25, 2024, 10:04am
5
Reply by k3kalinix | 2024-08-25 10:04:48
<@&1163218322200989806> could you please check?
K3
August 25, 2024, 10:36am
6
Reply by starboy_24 | 2024-08-25 10:36:23
If it doesn’t happen with other UIs then might be a bug. I will test and tell you by tomorrow.
K3
August 26, 2024, 1:41pm
7
Reply by newbietechbro | 2024-08-26 13:41:37
<@679221735458996224> Sure thanks!
K3
August 26, 2024, 4:24pm
8
Reply by raghuvanshagarwal | 2024-08-26 16:24:31
Hi <@796390213164859422> let me take a look into it, meanwhile can you tell us the version of the SDK you are using
K3
August 26, 2024, 6:46pm
9
Reply by newbietechbro | 2024-08-26 18:46:51
<@433610960725344267> I believe its the current version 3.0.1
K3
August 27, 2024, 6:06am
10
Reply by raghuvanshagarwal | 2024-08-27 06:06:39
Please modify Initialize Function inside ChatBoxUI.cs file and see if this solves the issue
/// <summary>
/// Initializes the chat UI with the specified prefab.
/// </summary>
/// <param name="uiPrefab">The UI prefab to instantiate.</param>
public override void Initialize(GameObject uiPrefab)
{
//existing code
_isFirstMessage = true;
_currentSpeaker = Speaker.Player;
}
<@796390213164859422>
K3
August 27, 2024, 10:08am
11
Reply by newbietechbro | 2024-08-27 10:08:10
This solves it! thank you!
K3
August 27, 2024, 10:12am
12
Reply by k3kalinix | 2024-08-27 10:12:15
Perfect!
K3
Closed
November 25, 2024, 12:14pm
13
This conversation happened on the Convai Discord Server, so this post will be closed.