Closed mericgeren closed 9 months ago
Hello @mericgeren, Thanks for reaching out, it seems a part of our documentation needs reworking, indeed. The part about importing into a new URP project lacks a step.
You have to update the ZED package to URP after importing it. Please click on ZED -> Upgrade ZED Plugin to URP in the top menu.
Thank you for the information,
After taking that extra step as suggested, all exceptions have been cleared. If you don't mind I am closing this issue as solved.
Kindest regards.
Preliminary Checks
Description
Hello,
I am trying to set up and use the Zed Unity Plugin. For this end, I have imported v4.0.7 version of the plugin on a device in which ZED SDK v4.0.8, CUDA 12.2 and DirectX 12 installed (from NVIDIA Control Panel I can also see that Direct3D feature level is 12_1). To this end, I have created a project with 3D URP template. After that, I have imported the package as a custom package (I have selected Zed_Unity_Plugin_v4.0.7.unityproject file). Then, I have deleted the main camera and then, from package manager I have installed VR feature, XR Plugin Management and XR Interaction Toolkit packages. After installing packages, I have tested Pointcloud and Drone Shooter examples. When testing both examples for the first time, the device and an Oculus Quest 2 headset was connected via cable. On these tries, the Unity became unresponsive and just froze for several minutes while on the headset, nothing have opened until I have closed Unity from task manager. Later on, I have disconnected the VR headset and tried both samples again. On both scene, as soon as I have hit the play button I have welcomed by an error about Direct3D11 not being supported followed by another error reads: "NullReferenceException: Object reference not set to an instance of an object" repeted more than a thousand times. You can see the screenshots of errors I got below:
Steps to Reproduce
Expected Result
Being able to see the streoscopic view provided by a ZED Mini camera through VR headset and/or screen of device I am using.
Actual Result
I have seen more than a thousand of these error messages. telling me "NullReferenceException: Object reference not set to an instance of an object".
ZED Camera model
ZED Mini
Environment
Anything else?
No response