Chat Messages in the widget not visible

Original Discord Post by adoptedcyborg | 2024-09-04 16:52:29

Hey, Im want to use the chat widget inside of a blueprint that has the Convai Character as a world space Widget, but when I place it the generated texts / transcript doesnt show up on it, do I need to change its blueprint to achive that ?

Reply by adoptedcyborg | 2024-09-04 16:55:17

I was only using the Chat_WB blueprint, do I need to put the ChatItem Wb to my scene aswell ?

Reply by adoptedcyborg | 2024-09-04 17:37:59

The Chat WB basically looks like a black rectancgle and Hold T & texbox are not visible aswell, just the Convai Logo

Reply by k3kalinix | 2024-09-04 17:42:22

<@&1163218672580575372>

Reply by freezfast | 2024-09-04 17:44:03

Hi <@146276048068280320>, thank you for reaching out, although we have not extensively tried it but it should work the way you mentioned, could you try with a different bp widget that is yours just to check it is rendering correctly

Reply by adoptedcyborg | 2024-09-04 17:46:58

Well yeah I was already using few other different widgets with the same method and haven’t encountered any issues, I feel like the texts aren’t getting initialized or something

Reply by adoptedcyborg | 2024-09-04 17:48:37

It’s worth to note that I’m building for VR and the convai player is inherited inside my own pawn, could that be messing up it’s initialization or setup of the chat wb?

Replying to adoptedcyborg’s Message

Reply by adoptedcyborg | 2024-09-04 17:48:37
It’s worth to note that I’m building for VR and the convai player is inherited inside my own pawn, could that be messing up it’s initialization or setup of the chat wb?

Reply by freezfast | 2024-09-04 17:49:19

no that should be fine, you can even explore not inheriting from the ConvaiBasePlayer by checking this guide if you would like: Simple Talking Cube | Documentation

Reply by adoptedcyborg | 2024-09-04 17:49:36

Also when I put ChatItemwb to the scene the demo texts on it are visible but not changing so I doubt it’s a visibility issue

Replying to adoptedcyborg’s Message

Reply by adoptedcyborg | 2024-09-04 17:49:36
Also when I put ChatItemwb to the scene the demo texts on it are visible but not changing so I doubt it’s a visibility issue

Reply by freezfast | 2024-09-04 17:52:33

That’s rather strange, we have plans to seperate the chat widget from the actual class as well as add an option to use 3d chat widget for VR or any other use case for the next version, but in the mean time you can perhaps try to create your own version of the chat widget by checking out this video it is a bit old and deprecated but can help you understand the main events for the chatbot component responsible for receiving text

Embedded Content:
Add Live Transcriptions and Events for AI NPCs in Unreal Engine | C…
After having set up conversation capabilities for your AI Characters in Unreal Engine 5, we dive into Part 2 of this tutorial series where we set up the Convai UE plugin for live AI transcriptions and events.

Full Playlist here: https://www.youtube.com/playlist?list=PLn_7tCx0ChiogfggG1AVo6IkELQSLt6o3

Tutorial Project: https://drive.google.com/
Link: https://www.youtube.com/watch?v=Up0Ria9PaFI

Replying to adoptedcyborg’s Message

Reply by adoptedcyborg | 2024-09-04 17:49:36
Also when I put ChatItemwb to the scene the demo texts on it are visible but not changing so I doubt it’s a visibility issue

Reply by freezfast | 2024-09-04 17:54:47

You’re also correct here, you would need to bind the OnTextReceived and OnTranscribtion received events to the chat widget, so that incoming text would render correctly, you can check the ConvaiBasePlayer bp for how it is done there

Replying to freezfast’s Message

Reply by freezfast | 2024-09-04 17:52:33
That’s rather strange, we have plans to seperate the chat widget from the actual class as well as add an option to use 3d chat widget for VR or any other use case for the next version, but in the mean time you can perhaps try to create your own version of the chat widget by checking out this video it is a bit old and deprecated but can help you understand the main events for the chatbot component responsible for receiving text

Reply by adoptedcyborg | 2024-09-04 18:08:10

Ayy yeah this was just what I needed, Thank you, I’ll try to hunt down the issue <a:sodaLove:787418708917485638>

Reply by adoptedcyborg | 2024-09-04 18:50:02

Can I ask where does the Character component come from ? I couldnt find it inside the variables, Im hoping if I can bind that It could work

Reply by adoptedcyborg | 2024-09-07 23:23:37

Hey <@365628745886859267> I had a chance to look at this issue on my free time today, and after trying it out on a fresh project and getting the same issue I managed to solve it so I wanted to update you aswell

Reply by adoptedcyborg | 2024-09-07 23:24:17

At first I tried to modify & insert the my widgets component reffs into SetupChatWidget but yall chat setup turned out to be way too elaborated than I tought, so my implementation had some issues ( Big ups btw, I discovered lots of features that I didnt even know yall implemented <a:sodaLove:787418708917485638>

Reply by adoptedcyborg | 2024-09-07 23:24:54

So I just cheated and solved it by Setting the main ChatWb on the player to my widget component inside the Player bp <:PepeLaughOld:681206366400282680>

Reply by adoptedcyborg | 2024-09-07 23:25:09

Images:

Reply by adoptedcyborg | 2024-09-07 23:26:36

And honestly its frustrating that it was this simple <:FeelsStrongMan:744637035293442068>

Reply by k3kalinix | 2024-09-10 21:30:01

cc: <@&1163218672580575372>

Reply by freezfast | 2024-09-11 15:40:15

Hi <@146276048068280320>, thank you for the detailed update! It’s great to hear that you were able to get things working. We haven’t made much progress in the area of 3D widgets yet, but hopefully, we’ll have an official, one-click method available soon to support other developers.

I’m sorry you had to deal with that challenge. Could you clarify which features you discovered in the code but weren’t aware of? We’d love to improve our documentation to make these aspects more transparent.

Thanks again!