VRGiants Posted July 14 Share Posted July 14 So I followed the instructions of the main Tutorial to get Vive OpenXR ready in my project: https://developer.vive.com/resources/openxr/unity/tutorials/how-to-install-vive-openxr-plugin/ https://developer.vive.com/resources/openxr/unity/tutorials/getting-started-with-openxr/ But when i try to build the Game Using IL2CPP I get the following Error (tried in a new project) NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code. The method we're attempting to marshal is: VIVE.HandTracking.HandTracking_OpenXR_API::intercept_xrWaitFrame_xrGetInstanceProcAddr at UnityEngine.XR.OpenXR.Features.OpenXRFeature.HookGetInstanceProcAddr () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.XR.OpenXR.OpenXRLoaderBase.InitializeInternal () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.XR.OpenXR.OpenXRLoaderBase.Initialize () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.XR.Management.XRManagerSettings.InitializeLoaderSync () [0x00000] in <00000000000000000000000000000000>:0 at UnityEngine.XR.Management.XRGeneralSettings.InitXRSDK () [0x00000] in <00000000000000000000000000000000>:0 UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.XR.OpenXR.OpenXRLoaderBase:Initialize() UnityEngine.XR.Management.XRManagerSettings:InitializeLoaderSync() UnityEngine.XR.Management.XRGeneralSettings:InitXRSDK() How do I fix this? Using Vive OpenXR Version 1.0.13 in Unity 2020.3.30f1 Link to comment Share on other sites More sharing options...
VIVE_chengnay Posted July 15 Share Posted July 15 Hi @VRGiants, Please use the latest version of Vive OpenXR Plugin v2.4.0 with Unity 2021.3.3f1 or newer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now