ZED 2 and Mixed Reality Plugin

I am trying to develop a custom program that allows the use of Microsoft’s HoloLens 2 and the ZED 2i’s object detection in Unity.

I was able to get the sample project for object detection to work with the ZED 2i by itself. The issue begins when I import the openXR plugin for the HoloLens 2 and try to incorporate that into the project.

Here is the project’s Hierarchy:
https://imgur.com/HsKdNsX

Here is the error:
https://imgur.com/tdfH7OR

I am aware that the Zed_Rig_Mono object needs the main camera to be deleted in order for it to work but the HoloLens requires a main camera. I am not well versed in Unity so I am having trouble understanding and debugging the program. Is it possible to simply remove the visible camera overlay and simply have the object detection objects in the 3D space of the program?

Thanks for any help in advance.

Hi,

The ZED Unity plugin is not (yet) compatible with OpenXR but only with oculus and OpenVR integrations.

Actually, adding the OpenXR compatibility in our Unity plugin is a feature that has been requested quite some time recently. Therefore, we added it in our backlog and we will work on it very soon.
The feature should be available in a next release of the Unity plugin.

Best regards,
Benjamin Vallon

1 Like