LineMesh is not fully backwards compatible in WebGPU

Hi :slight_smile:
First of all I want to say thank you for this engine! It provided a very good starting point.

We use BabylonJS for visualizing loadspaces with their content. We provide also the functionality to gather some information aboud the individual package like dimensions. Therfore we created a ruler using a LineMesh for the ruler’s scale.

We currently discovered a bug when using our ruler with WebGPU. The following playground is a very simplified example that perfectly works with WebGL but produces no scene but warnings in the console when using WebGPU.

Thank you & kind regards :slight_smile:

Welcome aboard!

Thanks for reporting, the problem will be fixed by this PR: