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

Missing scripts ( prefabs missing scripts) - Body tracking module #266

Closed samphilips closed 10 months ago

samphilips commented 10 months ago

Preliminary Checks

Description

I was trying to use the body tracking module, and was following the steps given in the ZED Unity documentation https://www.stereolabs.com/docs/unity/ , was facing the error that the prefabs are missing scripts, and the mono and stereo camera are missing scripts, images attached, I am currently using windows 11, with unity 2022.x , please advice what is the issue

image

image

Steps to Reproduce

  1. import asset - unity zed plugin
  2. add camera - mono or stereo

Expected Result

  1. get the zed manager script

Actual Result

image

ZED Camera model

ZED2

Environment

Windows 11 
gpu - nvidia RTX 3060 X 2 
CUDA Version : 12.1
ZED SDK 4.0 
Unity plugin : 4.0.5
Unity version 2022.x

Anything else?

No response

SLJLMacarit commented 10 months ago

Hi @samphilips,

Sorry for the delay. Can you try adding the XR Management package from Project Settings -> XR Plugin Management?

Edit: Just saw your other comment on the crash with 4.0.6. I'll try some things and be back.

samphilips commented 10 months ago

Hi @samphilips,

Sorry for the delay. Can you try adding the XR Management package from Project Settings -> XR Plugin Management?

Edit: Just saw your other comment on the crash with 4.0.6. I'll try some things and be back.

Thank you for your response @SLJLMacarit , I was able to downgrade my system to windows 10 and try and it works for now, I am facing another error of camera not being found in the unity zed, set up, however, it works in the ZED SDK, Image attached but the unity isn't able to detect the camera, I have followed all the steps given in this documentation https://www.stereolabs.com/docs/unity/body-tracking/#run-the-scene

image

image

samphilips commented 10 months ago

Hi @samphilips, Sorry for the delay. Can you try adding the XR Management package from Project Settings -> XR Plugin Management? Edit: Just saw your other comment on the crash with 4.0.6. I'll try some things and be back.

Thank you for your response @SLJLMacarit , I was able to downgrade my system to windows 10 and try and it works for now, I am facing another error of camera not being found in the unity zed, set up, however, it works in the ZED SDK, Image attached but the unity isn't able to detect the camera, I have followed all the steps given in this documentation https://www.stereolabs.com/docs/unity/body-tracking/#run-the-scene

image

![image](https://user-images.githubusercontent.com/139512584/261690333-73923279-b66c-4d56-8301-6e2485eeb622.png

to give a broader perspective, this is how my unity screen looks like image

samphilips commented 10 months ago

Edit : I was able to fix this by changing the unity version to 2023

SLJLMacarit commented 10 months ago

I'm happy it's solved by upgrading. I logged this issue internally, we'll investigate it more in-depth.