HI followed this tutorial https://www.youtube.com/watch?v=IVfDj8UYoj8 basic VFX overvierw and I can not get it working in WebGL ? look super in Unity editor found this https://answers.unity.com/questions/1631210/mesh-particle-effects-are-not-showing-up-in-webgl.html but Not using Me4sh for particles and can not find the mesh GPU instancing in unity 2019.3.0f6 any help most appeciated
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.
any progress on this? Afaik compute shaders dont work for webGL yet in unity.. and vfx graph heavily relies on compute shaders
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....
It seems that VFX Graph require Compute Shaders support. WebGL doesn't support compute shaders... https://forum.unity.com/threads/eff...h-not-showing-on-android.841465/#post-5558176
I'm in a similar boat, where my shaders use compute shaders. I wonder if they'll be upgrading WebGL version in the future.
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.