错误UnityEngine.XR.WSA.Input.InteractionManager :: GetCurrentReading_Internal

时间:2019-06-03 13:27:39

标签: vuforia hololens mrtk

我正在使用跟踪系统的Vuforia和与对象的交互的MRTK创建一个Hololens应用程序。在Visual Studio中安装解决方案时出现问题,因为出现以下错误,所以无法运行。特别是int32_t retVal = _il2cpp_icall_func(___ sourceStates0)中的断点;

如果我分开工作,原则上我没有问题。但是当我将它们放在一起时,会出现此错误。

// System.Int32 UnityEngine.XR.WSA.Input.InteractionManager::GetCurrentReading_Internal(UnityEngine.XR.WSA.Input.InteractionSourceState[])
extern "C" IL2CPP_METHOD_ATTR int32_t InteractionManager_GetCurrentReading_Internal_m48B784A597B956AF326A4DCB9C00F2AACF4C62A7 (InteractionSourceStateU5BU5D_tB8FF9D808295324B506769A009A5BD2C5CD671EA* ___sourceStates0, const RuntimeMethod* method)
{
    typedef int32_t (*InteractionManager_GetCurrentReading_Internal_m48B784A597B956AF326A4DCB9C00F2AACF4C62A7_ftn) (InteractionSourceStateU5BU5D_tB8FF9D808295324B506769A009A5BD2C5CD671EA*);
    static InteractionManager_GetCurrentReading_Internal_m48B784A597B956AF326A4DCB9C00F2AACF4C62A7_ftn _il2cpp_icall_func;
    if (!_il2cpp_icall_func)
    _il2cpp_icall_func = (InteractionManager_GetCurrentReading_Internal_m48B784A597B956AF326A4DCB9C00F2AACF4C62A7_ftn)il2cpp_codegen_resolve_icall ("UnityEngine.XR.WSA.Input.InteractionManager::GetCurrentReading_Internal(UnityEngine.XR.WSA.Input.InteractionSourceState[])");
    int32_t retVal = _il2cpp_icall_func(___sourceStates0);
    return retVal;
}

1 个答案:

答案 0 :(得分:0)

您使用的是Unity,MRTK和Vuforia的哪个版本?这是Unity内部的错误,知道特定版本可能有助于识别问题吗?

谢谢!