我不确定哪个 repo 是记录此错误的正确位置 - 你好,
我刚刚开始在 AR / VR 类别中进行开发,并在 Unity 中使用 ARToolkit。我用 hiro 创建了最简单的 AR 追踪器。每当我运行项目时,它都会卡在上面的标题错误中-
这是控制台详细说明错误 -
ARController (native): [error]ARWrapper::ARToolKitVideoSource::open2(): error-failed to load camera parameters camera_para.dat, calling close(), exiting returning false
UnityEngine.Debug:Log(Object)
ARController:Log(String) (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:1656)
ARNativePlugin:arwStartRunningB(String, Byte[], Int32, Single, Single)
PluginFunctions:arwStartRunningB(String, Byte[], Int32, Single, Single) (at Assets/ARToolKit5-Unity/Scripts/PluginFunctions.cs:114)
ARController:StartAR() (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:607)
ARController:Start() (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:393)
ARController (native): [info]Closing ARToolKit video.
UnityEngine.Debug:Log(Object)
ARController:Log(String) (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:1656)
ARNativePlugin:arwStartRunningB(String, Byte[], Int32, Single, Single)
PluginFunctions:arwStartRunningB(String, Byte[], Int32, Single, Single) (at Assets/ARToolKit5-Unity/Scripts/PluginFunctions.cs:114)
ARController:StartAR() (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:607)
ARController:Start() (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:393)
ARController (native): [error]ARController::startRunning(): Error: unable to open video source, exiting, returning false
UnityEngine.Debug:Log(Object)
ARController:Log(String) (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:1656)
ARNativePlugin:arwStartRunningB(String, Byte[], Int32, Single, Single)
PluginFunctions:arwStartRunningB(String, Byte[], Int32, Single, Single) (at Assets/ARToolKit5-Unity/Scripts/PluginFunctions.cs:114)
ARController:StartAR() (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:607)
ARController:Start() (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:393)
ARController: Error starting running
UnityEngine.Debug:Log(Object)
ARController:Log(String) (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:1656)
ARController:StartAR() (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:616)
ARController:Start() (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:393)
AROrigin: Found 1 markers eligible to become base marker.
UnityEngine.Debug:Log(Object)
ARController:Log(String) (at Assets/ARToolKit5-Unity/Scripts/ARController.cs:1656)
AROrigin:FindMarkers() (at Assets/ARToolKit5-Unity/Scripts/AROrigin.cs:110)
AROrigin:Start() (at Assets/ARToolKit5-Unity/Scripts/AROrigin.cs:116)
看起来代码无法找到 camera_para.dat。我在我的 AR 文件夹中找到了这个,不确定这是否正确?