Error: CameraDevice.openWithIndex: cameraIndex not in range[0, 0)

0 投票
最新提问 6月 2, 2020 用户: wangqifan (120 分)
用的Unity版本为2019.3.14,感觉是哪里设置不对,一直找不到,求教,错误详细信息如下:

UnityEngine.Debug:LogError(Object)
easyar.<>c:<GlobalInitialization>b__30_0(LogLevel, String) (at Assets/EasyAR/Scripts/EasyARController.cs:48)
easyar.Detail:FunctorOfVoidFromLogLevelAndString_func(IntPtr, LogLevel, IntPtr, IntPtr&) (at Assets/EasyAR/Scripts/csapi.cs:2992)
easyar.Detail:easyar_CameraDevice_openWithIndex(IntPtr, Int32)
easyar.CameraDevice:openWithIndex(Int32) (at Assets/EasyAR/Scripts/csapi.cs:6454)
easyar.VideoCameraDevice:<Open>b__36_0(PermissionStatus, String) (at Assets/EasyAR/Scripts/VideoCameraDevice.cs:164)
easyar.Detail:FunctorOfVoidFromPermissionStatusAndString_func(IntPtr, PermissionStatus, IntPtr, IntPtr&) (at Assets/EasyAR/Scripts/csapi.cs:2440)
easyar.Detail:easyar_DelayedCallbackScheduler_runOne(IntPtr)
easyar.DelayedCallbackScheduler:runOne() (at Assets/EasyAR/Scripts/csapi.cs:6207)
easyar.EasyARController:Update() (at Assets/EasyAR/Scripts/EasyARController.cs:156)

登录 或者 注册 后回答这个问题。

欢迎来到 EasyAR Q&A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...