我正在努力创建一个Hololens应用程序,使用Vuforia作为跟踪系统,使用MRTK与对象进行交互。在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;
}发布于 2019-06-04 05:58:27
您使用的Unity、MRTK和Vuforia是什么版本?这是Unity内部的一个错误,知道特定的版本可能有助于识别问题?
谢谢!
https://stackoverflow.com/questions/56428385
复制相似问题