ZED SDK Unity Plugin Issue for Ubuntu 22.04 / ZED SDK 5.0.1

Hello, I have a ZED2 that I want to use in a Unity project. I am on Ubuntu 22.04 and have the ZED SDK 5.0.1 installed.


My problem is, when I create a unity project using the 2022.3.62f1 LTS version and the
Universal 3D Core Template;

I go to Window > Package Manager
I click on the + icon then add the link here for installing from git

After the SDK plugin is installed I repeatedly get the error below and in some instances it crashes my system.
I go to Window > Package Manager
I click on the + icon then add the link here for installing from git

After the SDK plugin is installed I repeatedly get the error below and in some instances it crashes my system.




I also have the dependencies installed and the tools that come with the zed sdk work so it seems like a plugin issue.
In another issue (maybe not related) someone asked to see the ldd libsl_unitywrapper.so output so I am putting it here just it case.

Can you help me?

1 Like

Additional Information:(Since the post didn’t let me edit it again)
The DllNotFoundException: kernel32 error appears in the Unity Editor on Linux when the ZED Unity Plugin is imported, even if no ZED SDK is installed on the system. This happens after ensuring all C# within the plugin compiles (e.g., by conditionally compiling out XR dependencies if the XR package is not installed) and all native library assets within the plugin are correctly configured for their respective platforms in Unity’s inspector

  • I have managed to make an older setup work with ZED SDK 4.2.5, Unity6 and Plugin 4.2.5 but the same error persists on higher plugin setups.

Hi

Sorry for not getting back to you earlier.
I have an idea why this might happen. I’ll try to push a fix today.

Best,
Benjamin V.

Stereolabs Support

1 Like

Hi Benjamin,

I am also running into this error when trying to import the ZED SDK Unity Plugin. Is there a solution to this?

Ubuntu 22.04
ZED SDK 5.0.3
Cuda 12.9

I am encountering this error with Unity editor versions 2021.3.45f1, 2022.3.62f1, and 6000.1.12f1. All editor versions are installed with Linux Build Support (IL2CPP) and Linux Dedicated Server Build Support.

Any sort of solution that would allow me to use the ZED Plugin in Unity would be greatly appreciated.

1 Like

Can you try to delete and re import the package ? I just made a change that should fix it.

Best,

Hi Benjamin,

I am still receiving the “DllNotFoundException: kernel32” error after removing and re-importing the package from git URL.

1 Like

Hi Benjamin! I’m facing the same error still as well!

Hi Benjamin,

Just wanted to follow up and see if there were any updates regarding the ZED-Unity plugin compatibility with Ubuntu 22.04

hey benjamin! can you check on this? It’s still not working

Sorry for the delay, I was out of the office during the last two weeks.

I don’t know how I initially missed that but it was indeed not working on linux at all.
I made the change, and it should be good now.

1 Like

Hey Benjamin after testing this, it still doesn’t seem to work!

It should be all good now, sorry for that!