stereolabs / zed-unity

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

After installing the new sdk, unity plugin import and basic example execution are not available. #227

Closed hagsac closed 2 years ago

hagsac commented 2 years ago

Preliminary Checks

Description

After installing sdk 4.6.5 and plug in 3.6.4, unity stops when you run [object detect 3d] of the basic example.

After disabling visualization as shown in the figure for the experiment, If only zed mono is run, it works normally. Where can I check? image

And when only the camera works, the plugin information does not appear normally. This is version 3.6.4, but it appears to be 3.6.0. While using Unity, this issue confuses me.

And is it correct to use unity plug in 3.6.4 from sdj 3.6.5? image

Steps to Reproduce

  1. sdk 3.6.0 -> sdj 3.6.5 upgrade
  2. pluin 3.6.0 -> 3.6.4 releases version import
  3. object detection 3d example import
  4. run -> stop unity.
  5. without visualization in object detection 3d example
  6. run -> Camera or svo file works normally.

Expected Result

It works just like the old version.

Actual Result

Unity crashes

ZED Camera model

ZED2

Environment

windows 10 pro
rtx 2070
3.6.5 sdk
3.6.4 plugin

Anything else?

No response

hagsac commented 2 years ago

It's been resolved.

  1. I completely formatted my computer.

  2. cuda 10.2 installation , sdk 3.6.5 (cuda 10.2) installation, plugin 3.6.4 installation : same phenomenon (similar to the phenomenon that it takes a long time to run the first tracking example, but unity automatically ends as it crashes) Same as above.

  3. cuda 11.5 installation, sdk 3.6.5 (cuda 11.5) installation, plugin 3.6.0 installation: When [object detect] is first executed, a long wait occurs (normal)

  4. Unity does not crash and works normally

What's the matter? cuda version issue? I installed plugin 3.6.4 and I'm worried that the problem will happen again. Can I install plugin 3.6.4 on my computer?