stereolabs / zed-unity

ZED SDK Unity plugin
https://www.stereolabs.com/documentation/guides/using-zed-with-unity/introduction.html
MIT License
243 stars 57 forks source link

CreateZEDRigDisplayer & isStereoRig not working #243

Closed ianchase09 closed 1 year ago

ianchase09 commented 1 year ago

Preliminary Checks

Description

I have a main project (not on my github) that has unityXR and ZED 3.7 (tested this in 3.8 as well) as well as other packages and 3rd party stuff while this issue is also able to be reproduced in a 100% clean project that has no other packages other then openXR (unityXR) & stereolabs package (SDK IS installed) where, even though i am using the ZED_Rig_Stereo prefab, it is not identifying itself and therefore not creating the ZEDRigDisplayer (tested with show AR Pass-through AND Show Final AR Rig off and on simultaneously and independent of each other)

I placed two Debug.Log statements where i found things to be breaking

isStereoNotWorking

Steps to Reproduce

  1. confirmed Index headset is connected & working in Unity XR Toolkit
  2. add XR Origin (from unityXR Toolkit) to scene
  3. add ZED_Rig_Stereo prefab to scene
  4. Stream device & play ...

Expected Result

ZedRigDisplayer to be created with the combined screen and have the quad created that uses the two eye information from the material.

Actual Result

can see the zedmini working with both eyes but ZedRigDisplayer is never created

ZED Camera model

ZED Mini

Environment

OS: Windows 10
CPU: Processor  Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 4008 Mhz, 4 Core(s), 8 Logical Processor(s)
GPU: NVIDIA TITAN Xp
ZED SDK version: 3.7.2 AND 3.8 
ROS Melodic
Unity 2020.3 LTS

Anything else?

can confirm this works as intended in 3.3 with unity 2019

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days