Field-Robotics-Japan / UnitySensors

ROS/ROS2 enabled Sensor models (Assets) on Unity
Apache License 2.0
191 stars 28 forks source link

Mac os render error without psize #65

Closed LiangHuangBC closed 8 months ago

LiangHuangBC commented 9 months ago

Running on Macos, with tons of warning: Drawing with MeshTopology.Points, yet the vertex program 'Sprites/Default' does not have PSIZE output.

And page is messy with wrong points

image
Autumn60 commented 9 months ago

Thanks for the Issue report.

It seems to same issue as https://github.com/keijiro/Pcx/issues/71.

There are two possible solutions at this time

(1) Set [Material] to [None] in VelodynePointsMeshGenerator.cs.

image

(2) Deactivate the VelodynePointsMesh object and change the [Visualize Mode] of VelodyneVisualizer.cs, which is attached to VelodyneSensor, to [ALWAYS].

image

RyodoTanaka commented 8 months ago

This issue looks solved. I will close it. If you need more discussion, please do not hesitate to re-open it.