# Convai BOT chat bug in the Chat Box

**URL:** <https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318>\
**Category:** Unity SDK\
**Tags:** question, vr, unity\
**Created:** [July 26, 2024, 9:15pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318 "2024-07-26T21:15:27Z")\
**Posts on this page:** 20\
**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:** [July 26, 2024, 9:15pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/1 "2024-07-26T21:15:27Z")

</div>

**Original Discord Post by cytrax\_6969 | 2024-07-26 21:15:27**

When i am talking to the BOT (UNITY) . The BOT is giving the output voice message perfectly but in case of Text Message, the line gets written 2 times instead of 1. How can I correct this error. Do i have to change some code from the Convai Scripts.

**Images:**

 ![CONVAIBUG.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/9/9f20458e50313745e218c71268dc19a8f87d1970.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:** [July 26, 2024, 10:39pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/2 "2024-07-26T22:39:11Z")

</div>

**Reply by k3kalinix | 2024-07-26 22:39:11**

Hello \<@601335028374568960\>

---

<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:** [July 26, 2024, 10:39pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/3 "2024-07-26T22:39:55Z")

</div>

**Reply by k3kalinix | 2024-07-26 22:39:55**

I’ve never seen this error before, could you have changed something?

---

<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:** [July 26, 2024, 10:43pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/4 "2024-07-26T22:43:08Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 22:43:08**

i once tried to copy what it is writing from the Convai Chat UI hander or Convai GRPC script. But i dont think i changed anything for the their code to change. I just added a text box in the script and wrote textbox.text = text ;

---

<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:** [July 26, 2024, 10:43pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/5 "2024-07-26T22:43:17Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 22:43:17**

is there any way to reset those scri[ts

---

<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:** [July 26, 2024, 10:44pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/6 "2024-07-26T22:44:39Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 22:44:39**

I did the changes here. But then i removed them since they were not needed later

---

<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:** [July 26, 2024, 10:44pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/7 "2024-07-26T22:44:43Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 22:44:43**

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/0/05d666da12f8e198e1a317da411c14f87ff14ec9.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:** [July 26, 2024, 10:47pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/8 "2024-07-26T22:47:20Z")

</div>

**Replying to cytrax\_6969’s Message**

> **Reply by cytrax\_6969 | 2024-07-26 22:43:17**  
> is there any way to reset those scri[ts

**Reply by k3kalinix | 2024-07-26 22:47:20**

You can import Convai from the package manager. It will automatically replace the scripts. But do not import the scene if you have the changes.

---

<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:** [July 26, 2024, 10:51pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/9 "2024-07-26T22:51:36Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 22:51:36**

What do you mean by do not modify the scene if you have changes ? will re-importing convai will change something in my scene ?

---

<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:** [July 26, 2024, 10:52pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/10 "2024-07-26T22:52:38Z")

</div>

**Reply by k3kalinix | 2024-07-26 22:52:38**

I mean don’t import the Convai Demo Scenes.

---

<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:** [July 26, 2024, 10:55pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/11 "2024-07-26T22:55:19Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 22:55:19**

i dont have any Convai Demo scenes. I have my own scene right now.

---

<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:** [July 26, 2024, 10:55pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/12 "2024-07-26T22:55:25Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 22:55:25**

currently

---

<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:** [July 26, 2024, 10:55pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/13 "2024-07-26T22:55:27Z")

</div>

**Reply by k3kalinix | 2024-07-26 22:55:27**

okay

---

<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:** [July 26, 2024, 10:55pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/14 "2024-07-26T22:55:29Z")

</div>

**Reply by k3kalinix | 2024-07-26 22:55:29**

you can import.

---

<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:** [July 26, 2024, 10:56pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/15 "2024-07-26T22:56:19Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 22:56:19**

Ok. I will let you know if it works

---

<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:** [July 26, 2024, 11:01pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/16 "2024-07-26T23:01:13Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 23:01:13**

I am unable to click on all the checkboxes

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/d/d4fa21d647b4fbf63bb1657e01f3613b5b494c53.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:** [July 26, 2024, 11:01pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/17 "2024-07-26T23:01:23Z")

</div>

**Reply by k3kalinix | 2024-07-26 23:01:23**

Yes

---

<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:** [July 26, 2024, 11:01pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/18 "2024-07-26T23:01:30Z")

</div>

**Reply by k3kalinix | 2024-07-26 23:01:30**

Because these are already same.

---

<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:** [July 26, 2024, 11:01pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/19 "2024-07-26T23:01:58Z")

</div>

**Reply by k3kalinix | 2024-07-26 23:01:58**

It will replace things that have changed.

---

<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:** [July 26, 2024, 11:02pm UTC](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318/20 "2024-07-26T23:02:33Z")

</div>

**Reply by cytrax\_6969 | 2024-07-26 23:02:33**

So how will the script get reset them if it doesn’t import it ?

[Next page](https://forum.convai.com/t/convai-bot-chat-bug-in-the-chat-box/1318.md?page=2)
