Hi thomas4d,
I have the same problem. In the unity editor and Windows build everything works fine but in the WebGL build nothing appears.
Then, I could now isolate the problem using the default template project and add the simple swarm particle systems.
In the firefox browser console, there is a hint, that the shaders cause the error (see below). However, I could not find how to change the shader in VFX Graph.
I submitted a bug report to Unity (http://fogbugz.unity3d.com/default.asp?1218132_v8a55fatsfrbss0s). Letâs see if they send an answer.
WARNING: Shader b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
Unsupported: âHidden/VFX/TestVFX/System 1/Output Particle Quadâ - Pass ââ has no vertex shader
b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
WARNING: Shader b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
Unsupported: âHidden/VFX/TestVFX/System 1/Output Particle Quadâ - All passes removed
b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
WARNING: Shader b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
Did you use #pragma only_renderers and omit this platform?
b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
ERROR: Shader b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
Shader is not supported on this GPU (none of subshaders/fallbacks are suitable) b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
WARNING: Shader b92c9dd3-68fc-44e9-874a-3d843afc01f2:8:48949
Unsupported: âHidden/VFX/TestVFX/System 1/Output Particle Quadâ - Setting to default shader.
Iâve been looking for that as well, there seems to be progress but I couldnât find anything recent that would make me hope this will be available soon. That would be so freaking awesome to use the VFX graph in WebGLâŚ
WebGPU will support it - but I wouldnât hold your breath for WebGL. Looking forward to selecting WebGPU from build options, though given the tech is still a âworking draftâ I donât expect to see that for some time (as in years), since I donât think many resources will be invested in it until the spec is finalized. Even then, it wonât be available in the editor overnight. Iâd love to be mistaken
Itâs not in the hands of Unity.
The WebGL API isnât and wonât support it.
At one of the latest WebGL/WebGPU community meetups, the WebGL and WebGPU working group members told that it would be a feature of WebGPU and wonât be supported in WebGL
Thank you for this. I kind of thought it would take a few years, but telling me itâs coming in WebGPU gives me more to look out for. In the mean time I will make less performant versions of my render code with scripting symbols, my particles and grass will take a hit haha.