Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

VFX particles and WEbGL Not Working ?

Discussion in 'WebGL' started by thomas4d, Feb 1, 2020.

  1. thomas4d

    thomas4d

    Joined:
    Sep 5, 2013
    Posts:
    56
  2. jinxed_byte

    jinxed_byte

    Joined:
    Mar 29, 2014
    Posts:
    17
    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.
     
  3. olli_vrcoaster

    olli_vrcoaster

    Joined:
    Sep 1, 2017
    Posts:
    24
    any progress on this? Afaik compute shaders dont work for webGL yet in unity.. and vfx graph heavily relies on compute shaders
     
  4. Shack_Man

    Shack_Man

    Joined:
    Jun 7, 2017
    Posts:
    366
    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....
     
  5. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    552
    Nyanpas likes this.
  6. deus0

    deus0

    Joined:
    May 12, 2015
    Posts:
    256
  7. adamgolden

    adamgolden

    Joined:
    Jun 17, 2019
    Posts:
    1,495
    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 :D
     
    deus0 likes this.
  8. De-Panther

    De-Panther

    Joined:
    Dec 27, 2009
    Posts:
    552
    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
     
    deus0 and adamgolden like this.
  9. deus0

    deus0

    Joined:
    May 12, 2015
    Posts:
    256
    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.