CPU/sorted particles cause errors and fail to render

https://playcanvas.com/editor/scene/2282727

After migrating to 2.9(although it might have started earlier), trying to render any cpu particles, either by enabling sorting or toggling the useCPU field seem to cause errors. These are in the completely fresh project:
image
This also causes the particles to not render at all.

In the actual production there are even more issues which seem to invalidate the command buffers:
image



In this case the screen stops rendering and instead displays a black screen. I can’t provide a repro for this though.

This looks a bug in the engine. Could you please create an issue here: GitHub · Where software is built

The invalid command buffers take place on WebGPU only, as that’s how incorrect rendering is done there. I suspect your project running on WebGPU would do this as well.

Yes, seems the same happens in the repro if i launch using webgpu. I’ll make an issue soon.

1 Like