Search Unity

Bug Addressables, Shaders and WebGL

Discussion in 'Web' started by WavyRancheros, Jun 2, 2023.

  1. WavyRancheros

    WavyRancheros

    Joined:
    Feb 5, 2013
    Posts:
    176
    I have encountered a problem with Addressables and URP shaders in WebGL.

    When I load an asset, it loads successfully (geometry, materials, shaders and all), BUT it is invisible.
    In the Unity Editor, I can re-select the shader again from the dropdown in the material inspector, and suddenly the object is visible again.

    This happens on no other platform.

    Unity 2022.2.21f1
    Addressables 1.21.12
    URP 14.0.7

    Does anyone have an idea what's causing this?