Exported apps + custom StructuredBuffer types

I have a standard (as we know it from beta) compute particle system. The patch runs fine, but the exported app shows the following error:

E0241: A class like [Particle] cannot be used as a generic parameter for [StructuredBuffer<Particle>] in class [DrawParticles_DrawFX]

What to do?

Minimum patch here forum.zip (20.9 KB)

PS.: how do I port stuff like this to the stride material pipeline, are there any examples?

Also fyi, my patch is mostly copied from the particle system help patch, however, the help patch does not draw any particles for me (tested on 2 pcs), while compute seems to be running ok (according to the readback)…

thank you:)

this error was fixed in the recent preview, please test with the latest.

1 Like

works, thanks!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.