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

Point Cloud Demo not working in Unity 2022 #288

Closed MoritzSkowronski closed 1 month ago

MoritzSkowronski commented 2 months ago

Preliminary Checks

Description

In Unity 2022 in all render pipelines, the Point Cloud demo does not show any points on screen. The issue seems to be related to the shader, which still compiles, but draws no points. The point cloud fusion demo that uses a different approach still works in comparison.

Steps to Reproduce

  1. Install Unity 2022
  2. Import Zed
  3. Open Point Cloud Demo and run it

Expected Result

A point cloud is rendered to the screen

Actual Result

Nothing renders

ZED Camera model

ZED2

Environment

OS: Windows 11
GPU: Geforce RTX 3090

Anything else?

No response

Shunichi09 commented 1 month ago

I encountered the same error. My environment is

Does anyone solve this problem?

SLJLMacarit commented 1 month ago

@MoritzSkowronski @Shunichi09

Thank you for the report, it seems it started happening along the 2022.5. I reproduced the problem in 2022.5.27, not in 2022.5.5.

We'll look into this.

Shunichi09 commented 1 month ago

@SLJLMacarit

Thank you for your response! I appreciate your attention to this matter. Please let me know if you need any further information. Looking forward to hearing from you soon.

SLJLMacarit commented 1 month ago

Hi there, This seems to work again in 2023.x. This could be a Unity problem, breaking during 2022 lifetime and fixed in 2023.

Sorry, as it only seems to break the point cloud sample "temporarily", we will not look further into this.