# Custom UI issues

**URL:** <https://forum.convai.com/t/custom-ui-issues/1549>\
**Category:** Unreal Engine Plugin\
**Tags:** question, unreal-engine\
**Created:** [August 28, 2024, 11:51pm UTC](https://forum.convai.com/t/custom-ui-issues/1549 "2024-08-28T23:51:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [August 28, 2024, 11:51pm UTC](https://forum.convai.com/t/custom-ui-issues/1549/1 "2024-08-28T23:51:11Z")

</div>

**Original Discord Post by imdoldoli | 2024-08-28 23:51:11**

Hi \<@&1163218672580575372\> I am using a custom convai blueprint(duplicated base player blueprint and modified) for the base player. I have set up a custom UI widget on a separate screen using C++ and when a mic button is pressed I want the player’s voice input to start (talk).

However when I press the button the following warning appears:  
ConvaiChatbotComponentLog: Warning: StartGetResponseStream: ConvaiActions: The Environment object does not have any actions added, please add some actions using “Add Action” or “Add Actions” function

What should be added so that the convai chat works properly.

**Images:**

 ![image_16.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/3/3f665bfa7327774e4580bfadca7b372f94c335cc.png)  
 ![image_17.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/0/02780f3e179d793ed3a63f5d5c7eb22ff374cdcc.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [August 29, 2024, 5:25am UTC](https://forum.convai.com/t/custom-ui-issues/1549/2 "2024-08-29T05:25:04Z")

</div>

**Reply by mighty\_brute | 2024-08-29 05:25:04**

Hello \<@469160795406860298\>,  
To implement a custom UI widget for your project, I recommend checking out the setup of the Chat Widget’s collapsed graph in ConvaiBasePlayer blueprint. Additionally, for updating the UI and displaying new messages, there are two key delegates you should focus on:

1. OnTextReceived
2. OnTranscriptionReceived

These delegates will provide you with the necessary messages, which you can then use to populate your UI.

For further assistance, please take a look at this tutorial : [https://www.youtube.com/watch?v=Up0Ria9PaFI&list=PLn\_7tCx0ChiogfggG1AVo6IkELQSLt6o3&index=3](https://www.youtube.com/watch?v=Up0Ria9PaFI&list=PLn_7tCx0ChiogfggG1AVo6IkELQSLt6o3&index=3)  
This should help in making your Convai chat work properly. Let me know if you need any more help!

**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](https://www.youtube.com/playlist?list=PLn_7tCx0ChiogfggG1AVo6IkELQSLt6o3)

Tutorial Project: [https://drive.google.com/](https://drive.google.com/)…  
Link: [https://www.youtube.com/watch?v=Up0Ria9PaFI](https://www.youtube.com/watch?v=Up0Ria9PaFI)

 ![Thumbnail](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/c8951e31e2e948f5e093da745cb259a8a50045ef.jpeg)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [August 29, 2024, 5:42am UTC](https://forum.convai.com/t/custom-ui-issues/1549/3 "2024-08-29T05:42:35Z")

</div>

**Reply by imdoldoli | 2024-08-29 05:42:35**

\<@1216254232957685765\> could simply adding another key (other than T button) using UI buttons would still work? (please have a look at the first image I have shared)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [August 29, 2024, 5:53am UTC](https://forum.convai.com/t/custom-ui-issues/1549/4 "2024-08-29T05:53:51Z")

</div>

**Reply by mighty\_brute | 2024-08-29 05:53:51**

It should work. You can refer to the screenshots I shared—I’ve used a custom event and triggered it from the widget using the Button Pressed and Released events.

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/9/9305d9357708fc2ae24147cfa66ff7181e785f66.png)  
 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/7/748e351f7c98e222952b595e3243635a2a2fb7ec.png)

---

<div class="post-metadata">

**Author:** ![K3](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/k3/32/2611_2.png) [@K3](https://forum.convai.com/u/K3)\
**Post date:** [November 25, 2024, 12:14pm UTC](https://forum.convai.com/t/custom-ui-issues/1549/5 "2024-11-25T12:14:40Z")

</div>

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