Unity VR Template x Convai instead of Convai VR

Original Discord Post by coltonix. | 2024-09-19 21:49:07

Hi! Hope you can help me with this :raised_hands:

So I’m using Unity’s own VR core template for my project with Convai. Right now I don’t know how to use the template’s own XR controllers to enable voice input, toggle on settings and interact with the settings menu. Could you help me resolve it please?

Background:
Unity 2022.3
Currently I have imported my Convai character to the project, and have successfully conversed with him in the Convai VR’s demo project, but I just hope to use Unity’s controllers instead of the Convai VR controllers

Reply by k3kalinix | 2024-09-19 21:49:34

Hello <@367438775263035402> :wave:t2:

Reply by k3kalinix | 2024-09-19 21:49:40

Welcome to Convai Community!

Reply by coltonix. | 2024-09-19 21:50:02

Hi K3 thank you! Nice meeting you

Reply by k3kalinix | 2024-09-19 21:50:57

First drag and drop the Convai Essentials VR prefab to your scene.

Convai/ Convai VR / Prefabs

Reply by k3kalinix | 2024-09-19 21:54:14

Then in the Hiearchy’s search box,
Search ConvaiHandPanelHolder

Copy this game object.
Then paste it into your Left Hand Anchor object.

Reply by k3kalinix | 2024-09-19 21:56:53

Click on your XR Player
Add these components,

  • ConvaiGRPCAPI
  • ConvaiNPCManager
  • ConvaiPlayerDataHandler

Reply by k3kalinix | 2024-09-19 21:57:17

Delete ConvaiVRPlayer

Reply by k3kalinix | 2024-09-19 21:57:22

And Try.

Reply by coltonix. | 2024-09-19 22:00:38

Thanks! I just did all those and ran the game. But now it’s like this:

Reply by coltonix. | 2024-09-19 22:01:36

Images:



Reply by coltonix. | 2024-09-19 22:02:03

What do you think i’m missing?

Reply by k3kalinix | 2024-09-19 22:03:09

Where is Convai Essentials prefab?

Reply by coltonix. | 2024-09-19 22:05:41

Oops I deleted it but now that I brought it back, it’s still doing the same thing. Like my XR Origin just disappeared on running

Reply by k3kalinix | 2024-09-19 22:06:16

Show me the Hiearchy

Reply by coltonix. | 2024-09-19 22:06:18

Images:


Reply by k3kalinix | 2024-09-19 22:10:52

Please delete the ConvaiVRPlayer

Reply by coltonix. | 2024-09-19 22:11:43

By ConvaiVRPlayer, do you mean the XR controller that comes with Convai Essentials?

Reply by k3kalinix | 2024-09-19 22:12:13

Yes, gameobject name is ** ConvaiVRPlayer **

Reply by coltonix. | 2024-09-19 22:12:55

Images: