RealSenseT265无法正常接入Unity2021(报错rs2_pipeline_start_with_config)
首先通过librealsense-2.47.0生成的build中的realsense.unitypackage,然后新建一个Unity工程,导入realsense.unitypackage包,打开RealSenseSDK2.0/Scenes/StartHere.unity,运行当前场景,选择SLAM,进入SLAM场景后会报错如下:
ExternalException: rs2_pipeline_start_with_config(pipe:00000238C43C91A0, config:00000238C43C9860)
Rethrow as Exception: No device connected
Intel.RealSense.ErrorMarshaler.MarshalNativeToManaged (System.IntPtr pNativeData) (at <b8a5b159b9f84e3aafa88688ca90ce06>:0)
Intel.RealSense.Pipeline.Start (Intel.RealSense.Config cfg) (at <b8a5b159b9f84e3aafa88688ca90ce06>:0)
RsDevice.OnEnable () (at Assets/RealSenseSDK2.0/Scripts/RsDevice.cs:71)
希望有人能告诉解决方案,在此先谢谢了!
-
Official comment
Hi Xiongyisu,
I apologize for the delay in my response. We only provide support in English, please provide background information about your errors so we can assist you. From what I gather, this is a Unity error. What version of the Unity wrapper are you using?
The thrown exception says that there is no device connected. Can you ensure that your RealSense device is connected please.
Best Regards,
Sahira
Comment actions -
Hi Xiongysiu,
Also, the device could be connected, but not recognized by your system thus giving a no device connected error. Please follow the steps in this article to ensure that your camera is recognized by your system.
Best Regards,
Sahira
Please sign in to leave a comment.
Comments
2 comments