# Unity narrative design trigger issues with vr player

**URL:** <https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666>\
**Category:** Unity SDK\
**Tags:** question, vr, unity\
**Created:** [April 22, 2025, 9:27am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666 "2025-04-22T09:27:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 22, 2025, 9:27am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/1 "2025-04-22T09:27:00Z")

</div>

I have an object that when picked up by the player it should activate a trigger for the NPC to begin speaking, i have attached the Narrative design trigger script, do i need to select a funtion to make it work?

 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/0/05aa4445f3bfdab647e9de8b6fd4ce164b3991a8.png)

---

<div class="post-metadata">

**Author:** ![Tyke](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/tyke/32/3026_2.png) [@Tyke](https://forum.convai.com/u/Tyke)\
**Post date:** [April 22, 2025, 12:59pm UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/2 "2025-04-22T12:59:52Z")

</div>

Hi, by looking at that it looks like there isn’t an actual function/method specified in the On Trigger Event at the bottom of the image? Where it says “No Function” I think there should be a method or function that is in your script.

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 23, 2025, 4:14am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/3 "2025-04-23T04:14:22Z")

</div>

yes i think so aswell but i dont know which function it should be

---

<div class="post-metadata">

**Author:** ![Tyke](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/tyke/32/3026_2.png) [@Tyke](https://forum.convai.com/u/Tyke)\
**Post date:** [April 23, 2025, 6:43am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/4 "2025-04-23T06:43:29Z")

</div>

Hi Rob, without being able to see the functions in your script I can’t really say what should be there.

What do you want to happen when the Narrative Design trigger is invoked? This should be the function that should be specified there.

---

<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:** [April 23, 2025, 8:14am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/5 "2025-04-23T08:14:50Z")

</div>

Hello @robrobbo151,

**Welcome to the Convai Developer Forum!**

Here’s a clearer explanation of how to get your object to activate a Narrative Design Trigger when picked up:

The `NarrativeDesignTrigger` script is designed to work with collider events. Specifically, it triggers when the player enters a collider marked as a trigger. However, based on your setup, it sounds like you’re not using a trigger collider for activation.

Instead of modifying the Convai scripts directly (which we don’t recommend), you can create a small custom script to trigger the narrative sequence programmatically:

1. In the Unity Editor, go to your NarrativeDesignTrigger GameObject and click the **Update Triggers** button.
2. Choose the desired trigger you want to activate.
3. Create a new C# script and attach it to the same GameObject.
4. For example, In your script’s `Awake()` method, add the following:

```csharp
void Awake()
{
    GetComponent<NarrativeDesignTrigger>().InvokeSelectedTrigger();
}

```

This will manually invoke the selected Narrative Design trigger when the object is initialized.

Also, if you’re not using the trigger collider anymore, be sure to disable it to avoid accidental triggering when the player walks through the object. This should help avoid any unexpected behavior or bugs. 😃

Let me know if you need a code snippet or further help!

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 24, 2025, 7:35am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/6 "2025-04-24T07:35:28Z")

</div>

i have “is trigger” active on my mesh colliders but they dont seem to activate the triggers, im having the same issue with triggers activating when the ai walks to a location. i have attatched colliders, design trigger components.

 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/9/9e5921a24a92c66e46bcf0d964434a2359b724cd.png)

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 24, 2025, 7:37am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/7 "2025-04-24T07:37:42Z")

</div>

i want my NPC to move to a location and activate a trigger attached to a box collider. the trigger doesnt activate

 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/7/76c38f5cccb5a0a5a162f074b4fb60593aa57bdc.png)  
 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/4/4657128e9a3fa2feedb2a15ce7f19315aa4d9330.png)

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 28, 2025, 5:00am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/8 "2025-04-28T05:00:04Z")

</div>

Any ideas? i feel like ive tried every function?

---

<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:** [April 28, 2025, 8:52am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/9 "2025-04-28T08:52:29Z")

</div>

Please watch this video and do not disable your trigger in OnTriggerEvent.

[![](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/1X/b640a09902b809d69e0e1a591e595bb9d4e240bd.jpeg "AI-powered Onboarding Character for Digital Twin Environments | Convai Unity Tutorial") ](https://www.youtube.com/watch?v=wmhoNXUhc1U)

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 28, 2025, 9:45am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/10 "2025-04-28T09:45:13Z")

</div>

ive watched the video and done everything it says and it doesnt work. this is the current set up on my trigger and it isnt activating the Special mark trigger in my narrative design

 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/7/7e83802872e1a462fdf39b808fc6d9951e3fb63d.png)

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 28, 2025, 9:46am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/11 "2025-04-28T09:46:29Z")

</div>

![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/7/7a140e79791152441daddc24ccb222d527f1f903.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:** [April 28, 2025, 9:58am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/12 "2025-04-28T09:58:45Z")

</div>

Could you please share a video? (make sure console logs are visible)

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 28, 2025, 10:17am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/13 "2025-04-28T10:17:26Z")

</div>

Apologies but i cant screen record it whilst testing it on my VR. i ran it and this is the console. he walks to the trigger, it acknowlegdes it but doesnt activate it in my narrative design.

 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/f/fe91bb64021509350c5f604477f90c7c06b4a090.png)  
 ![image](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/3/370b21ed4fc4aed880c68e5c0d0dc83f8916358d.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:** [April 28, 2025, 10:40am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/14 "2025-04-28T10:40:23Z")

</div>

Could you please share all the logs?

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 28, 2025, 10:50am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/15 "2025-04-28T10:50:47Z")

</div>

how do i do that sorry

---

<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:** [April 28, 2025, 10:57am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/16 "2025-04-28T10:57:36Z")

</div>

> **[Unity - Manual: Log files reference](https://docs.unity3d.com/6000.1/Documentation/Manual/log-files.html)**

_You can access the Editor logs from the console window. To do this, open a Console Window (main menu: **Window** \> **General** \> **Console** ) and select **Open Editor Log** from the Console window menu._

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 28, 2025, 11:03am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/17 "2025-04-28T11:03:41Z")

</div>

File size is too big to share

---

<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:** [April 28, 2025, 11:09am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/18 "2025-04-28T11:09:57Z")

</div>

Clean everything up, test the scene and then share the logs.

---

<div class="post-metadata">

**Author:** ![robrobbo151](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/robrobbo151/32/3917_2.png) [@robrobbo151](https://forum.convai.com/u/robrobbo151)\
**Post date:** [April 30, 2025, 7:52am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/19 "2025-04-30T07:52:00Z")

</div>

[Editor.log](https://forum.convai.com/uploads/short-url/6EA1GVlCnl6YUWEOxtDbtRBHm7A.log) (4.6 MB)

---

<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:** [April 30, 2025, 8:29am UTC](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666/20 "2025-04-30T08:29:03Z")

</div>

Thank you. Which trigger doesn’t work?

[Next page](https://forum.convai.com/t/unity-narrative-design-trigger-issues-with-vr-player/3666.md?page=2)
