# Unassigned Reference Exception when using Mic Input (UNITY)

**URL:** https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742
**Category:** Unity SDK
**Tags:** question, unity
**Created:** [September 23, 2024, 3:02am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742 "2024-09-23T03:02:52Z")
**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: [September 23, 2024, 3:02am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/1 "2024-09-23T03:02:52Z")

</div>

**Original Discord Post by paras.s | 2024-09-23 03:02:52**

Getting this error (see image attached) whenever I press T to verbally talk with the ConvAI NPC. I have no idea how to resolve it. Could anyone help out? Thanks !

**Images:**  
 ![Screenshot_2024-09-23_130233.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/optimized/2X/6/6902be2e8e744c2c7c62a658bc3b25d750da3a3a_2_690x27.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: [September 23, 2024, 6:32am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/2 "2024-09-23T06:32:25Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:32:25**

Hello \<@226660098972319744\> 👋🏻,

---

<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: [September 23, 2024, 6:32am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/3 "2024-09-23T06:32:37Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:32:37**

You probably have another error.

---

<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: [September 23, 2024, 6:33am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/4 "2024-09-23T06:33:36Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:33:36**

Can I see the full console logs?

---

<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: [September 23, 2024, 6:34am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/5 "2024-09-23T06:34:53Z")

</div>

**Reply by paras.s | 2024-09-23 06:34:53**

Sure, there is another error but I don’t think it really relates to the reason why microphone input isnt working

but here is the extended console log:

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/6/66b6d9661d307a5560fcd6dcd5f20d7519af3201.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: [September 23, 2024, 6:35am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/6 "2024-09-23T06:35:09Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:35:09**

Okey

---

<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: [September 23, 2024, 6:35am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/7 "2024-09-23T06:35:18Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:35:18**

Show me interactables data

---

<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: [September 23, 2024, 6:35am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/8 "2024-09-23T06:35:36Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:35:36**

I need to see inspector

---

<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: [September 23, 2024, 6:36am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/9 "2024-09-23T06:36:15Z")

</div>

**Reply by paras.s | 2024-09-23 06:36:15**

Do you mean this:

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/a/adcc309cc9fc0937f4269b18c33b57e92c2e4cf6.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: [September 23, 2024, 6:36am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/10 "2024-09-23T06:36:37Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:36:37**

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: [September 23, 2024, 6:37am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/11 "2024-09-23T06:37:14Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:37:14**

Convai / Prefabs / Dynamic Move Target Indicator.

---

<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: [September 23, 2024, 6:37am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/12 "2024-09-23T06:37:48Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:37:48**

Drag and drop it into your 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: [September 23, 2024, 6:38am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/13 "2024-09-23T06:38:35Z")

</div>

**Reply by paras.s | 2024-09-23 06:38:35**

There is no dynamic move target indicator in the prefabs dir

**Images:**

 ![image.png](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/4/422e6df995a167cac879839ea39c17609ace065c.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: [September 23, 2024, 6:39am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/14 "2024-09-23T06:39:12Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:39:12**

Utils

---

<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: [September 23, 2024, 6:39am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/15 "2024-09-23T06:39:35Z")

</div>

**Reply by paras.s | 2024-09-23 06:39:35**

Got it I’ve added it to the scene thanks

---

<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: [September 23, 2024, 6:40am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/16 "2024-09-23T06:40:14Z")

</div>

**Replying to paras.s’s Message**

> **Reply by paras.s | 2024-09-23 06:36:15**  
> Do you mean this:

**Reply by k3kalinix | 2024-09-23 06:40:14**

Perfect, now move it to this empty field

---

<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: [September 23, 2024, 6:41am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/17 "2024-09-23T06:41:04Z")

</div>

**Reply by paras.s | 2024-09-23 06:41:04**

Yep, that fixed the error thanks sm !

---

<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: [September 23, 2024, 6:41am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/18 "2024-09-23T06:41:11Z")

</div>

**Reply by k3kalinix | 2024-09-23 06:41:11**

Perfect

---

<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: [September 23, 2024, 6:41am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/19 "2024-09-23T06:41:17Z")

</div>

**Reply by paras.s | 2024-09-23 06:41:17**

I have no idea why that needed to be added for the microphone input to work wth

---

<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: [September 23, 2024, 6:41am UTC](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742/20 "2024-09-23T06:41:22Z")

</div>

**Reply by paras.s | 2024-09-23 06:41:22**

Thanks anyways tho !

[Next page](https://forum.convai.com/t/unassigned-reference-exception-when-using-mic-input-unity/1742.md?page=2)
