Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

URP WebGL missing some ShaderGraph Shaders (2019.3.0f3)

Discussion in 'Universal Render Pipeline' started by Arnklit, Dec 22, 2019.

  1. Arnklit

    Arnklit

    Joined:
    May 18, 2015
    Posts:
    48
    So I'm having the issue that some shaders are missing when doing a webbuild.

    Unity: 2019.3.0f3
    URP: 7.1.7
    ShaderGraphs: 7.1.7

    The strange thing is, that all the shaders are unlit shadergraph shaders I've set up myself, but some of them are displaying OK, the Fern and Waterfall ones are displaying, I don't know if that is because they are animated (the ferns have a bit of vertex displacement and the waterfall has a scrolling texture)

    Things I've tried to fix it:
    * Set "Shader Stripping: Instancing Variants" to "Keep All"
    * Manually added the shaders to "Always Included Shaders" array
    * Disabled "Graphics Jobs"
    * Disabled "SRP Batcher" and "Dynamic Batching"

    Any help would be much appreciated.

    TOP: Web build - BOTTOM: Editor, Windows Standalone, Android
     
    Last edited: Dec 29, 2019
  2. Arnklit

    Arnklit

    Joined:
    May 18, 2015
    Posts:
    48
    Anyone have any info on this?
     
  3. SplenShepard

    SplenShepard

    Joined:
    Aug 24, 2019
    Posts:
    19
    check console for shader load errors and post here, are you testing webgl1.0 or 2.0?
     
  4. peterbay

    peterbay

    Unity Technologies

    Joined:
    Nov 2, 2017
    Posts:
    100
    Yeah, any errors in the log would be very helpful. Can you try manually re-importing the Shader Graphs?