Search Unity

Bug Real time ReflectionProbes not working on WebGL

Discussion in 'General Graphics' started by IsaacSaltoki, Aug 4, 2022.

  1. IsaacSaltoki

    IsaacSaltoki

    Joined:
    May 25, 2021
    Posts:
    1
    After updatting reflection probes via script with "reflectionProbe.RenderProbe()" or every frame, material is no longer reflective and its gets black. It works on unity editor but not in webGL.

    Tested in Unity 2021.3.5f1, with URP.

    This is how it looks on the editor:

    upload_2022-8-4_10-27-47.png

    This on WebGl:

    upload_2022-8-4_10-28-10.png

    Any suggestions/ideas?

    EDIT: Problem solved. For some reason we were missing some shaders that come by default in the "Always included shaders" list.
     
    Last edited: Sep 9, 2022