# Debugging Convai errors with FFI libraries

**URL:** <https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156>\
**Category:** Unity SDK\
**Tags:** question, unity\
**Created:** [May 10, 2026, 9:24am UTC](https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156 "2026-05-10T09:24:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![VR\_User\_01\_Law](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/vr_user_01_law/32/6645_2.png) [@VR\_User\_01\_Law](https://forum.convai.com/u/VR_User_01_Law)\
**Post date:** [May 10, 2026, 9:24am UTC](https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156/1 "2026-05-10T09:24:37Z")

</div>

Hello,

i’m using the new version of the Convai for the first time in Unity 6.3 LTS

i have followed the Youtube video tutorial step by step , added all the components required and when i run the game these bugs occurred, i have also imported the FFI

 ![Screenshot 2026-05-10 113747](https://canada1.discourse-cdn.com/flex004/uploads/convai/original/2X/0/074b6275876d4f35bb1b3cacf27458844009f5e5.png)

libraries

Thank You

---

<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:** [May 10, 2026, 9:55am UTC](https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156/2 "2026-05-10T09:55:19Z")

</div>

Hello,

Could you please let us know which platform you are running this on?

Also, could you share the full logs from Unity so we can review the issue in more detail?

---

<div class="post-metadata">

**Author:** ![VR\_User\_01\_Law](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/vr_user_01_law/32/6645_2.png) [@VR\_User\_01\_Law](https://forum.convai.com/u/VR_User_01_Law)\
**Post date:** [May 12, 2026, 11:26am UTC](https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156/3 "2026-05-12T11:26:27Z")

</div>

Hey again

i’m using the VR platform it’s working fine i fixed the error already but i need to know how to activate the character in the oculus i mean i used to import the VR packages and essentials but how can i activate for this update?

Thank You!

---

<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:** [May 12, 2026, 11:28am UTC](https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156/4 "2026-05-12T11:28:18Z")

</div>

There are no additional setup steps for XR in the current plugin.

The XR-specific steps you’re referring to were for the old V3 plugin.

---

<div class="post-metadata">

**Author:** ![VR\_User\_01\_Law](https://yyz2.discourse-cdn.com/flex004/user_avatar/forum.convai.com/vr_user_01_law/32/6645_2.png) [@VR\_User\_01\_Law](https://forum.convai.com/u/VR_User_01_Law)\
**Post date:** [May 12, 2026, 11:31am UTC](https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156/5 "2026-05-12T11:31:35Z")

</div>

u mean it should work directly when build the project ?

one more question: i’m using the Meta xr all in one sdk is it comptitable with the Convai ?

---

<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:** [May 12, 2026, 11:33am UTC](https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156/6 "2026-05-12T11:33:51Z")

</div>

You will need to add the XR-related objects to your scene separately for your target platform.

For Convai, please follow the setup steps in the documentation here:

[https://docs.convai.com/api-docs/plugins-and-integrations/unity-plugin-beta-overview/getting-started/setup](https://docs.convai.com/api-docs/plugins-and-integrations/unity-plugin-beta-overview/getting-started/setup)

Convai does not impose any specific limitation on XR plugins or platforms, so you should be able to use it with the Meta XR All-in-One SDK as long as your XR scene and input setup are configured correctly on the Unity side.

---

<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:** [May 25, 2026, 8:30am UTC](https://forum.convai.com/t/debugging-convai-errors-with-ffi-libraries/6156/9 "2026-05-25T08:30:41Z")

</div>


