Zed plugin error in unity

After following the step-by-step guide (Build your first AR/MR App with Unity | Stereolabs) to create an AR application using the unity plugin, I got a constant crash in the project after importing the Zed Unity plugin (GitHub - stereolabs/zed-unity: ZED SDK Unity plugin)

I used 2 versions to see if this was the problem: 4.0.6 and 3.5.2

In a certain attempt after repeated attempts, after importing the plugin, the error message appears: 'The type or namespace name ‘Management’ does not exist in the namespace ‘UnityEngine.XR’

so I followed the instruction to fix the error: “Project Settings → XR Plugin Management and Install the XR Plugin Management system by clicking the button.”

and Unity crashed again, and the project never opens again because it keeps crashing

Correspondent

miguel.ribeiro@tbtec.com.br

CPU

Intel(R) Core™ i7-8750H CPU @ 2.20GHz

GPU

NVIDIA GeForce GTX 1050 Ti with Max-Q Design

Operating System

Windows 11 (10.0.22621) 64bit

First,

I would recommend using the V4.0.6 of the unity plugin and not the v3.5.2.

Can you tell me which ZED SDK version you installed on your computer?
You need to have matching versions between the SDK and the unity plugin. In your case, you need the ZED SDK v4.0.6 and the Unity plugin v4.0.6, otherwise it won’t be compatible.

Stereolabs Support