question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Plugin cannot find ZED SDK

See original GitHub issue

Hi all,

I am new to zed-unity integration and here is what I got after importing the plugin and hitting the play button in Unity;

DllNotFoundException: sl_unitywrapper
sl.ZEDCamera.CreateCamera (System.Int32 cameraID, System.Boolean verbose) (at Assets/ZED/SDK/NativeInterface/ZEDCamera.cs:870)
ZEDManager.Awake () (at Assets/ZED/SDK/Helpers/Scripts/ZEDManager.cs:1784)
The ZED plugin cannot be loaded. 
 Please check that you have ZED SDK v3.4 installed

 If the problem persists, please contact our support team at support@stereolabs.com

UnityEngine.Debug:LogError (object)
sl.ZEDCamera:CheckPlugin () (at Assets/ZED/SDK/NativeInterface/ZEDCamera.cs:823)
GUIMessage:Awake () (at Assets/ZED/SDK/Helpers/Scripts/Utilities/GUIMessage.cs:122)
NullReferenceException: Object reference not set to an instance of an object
ZEDRenderingPlane.OnRenderImage (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) (at Assets/ZED/SDK/Helpers/Scripts/Display/ZEDRenderingPlane.cs:1327)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

This is on Ubuntu 18.04 with ZED Plugin for Unity v3.4.0, ZED SDK 3.4.2, CUDA 11.0 and Unity3D 2019.4.22f1. ZED Diagnostic shows everything is fine.

Anyone had same issue before? Any suggestion is appreciated! Many thanks in advance.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
HainingLuocommented, Mar 29, 2021

Thanks Obraun! I installed libusb and it is working now!

0reactions
obraun-slcommented, Mar 28, 2021

Yes, the problem come from libusb-0.1.so.4. Since it’s not found on your PC, the load of sl_unitywrapper is unsuccessful --> error. To solve this, simply call : $ sudo apt install libusb-dev This should install the missing dependencies.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find TENSORT when installing ZED SDK v3.8.2 for ...
Hi, I am facing the error Cannot find TENSORT when installing the ZED SDK v3.8.2 using the script ZED_SDK_Tegra_L4T35.1_v3.8.2.zstd.run.
Read more >
ZED is not working with my unity
I am facing one issue with zed unity integration, currently i am using zed SDK 4.0, zedunityplugin 4.0.1, whenever i am using my...
Read more >
Software
Hello , I have downloaded the ZED Unity Plugin , I am running Ubuntu 18.04 , ZED SDK 3.3 . I can successfully...
Read more >
Getting Started with Unity and ZED Problems
I've had this all working previously, but I've updated the SDK and Unity plugin package and now get the following script error: Assets\ZED\SDK\ ......
Read more >
What do I do if my ZED/ZED Mini/ZED2/ZED2i is not working?
What do I do if my ZED/ZED Mini/ZED2/ZED2i is not working? · Remove any USB Extension cable or USB hub · Install the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found