Search Unity

Question Material for Image UI component does not work in WEBGL

Discussion in 'Shader Graph' started by juliodutracora, Sep 11, 2019.

  1. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    17
    Hi guys!

    I created a simple shader using shader graphs with Sprite Unlit as the master node. (LWRP).
    I am trying to use this material with an image component in the UI.

    upload_2019-9-11_14-15-32.png


    This material works just fine in the editor and windows:
    upload_2019-9-11_14-16-48.png
    running on editor and windows

    But, it does not work in WEBGL. The image component does not shows up. It keeps totally transparent.
    upload_2019-9-10_14-35-31.png running on webgl.


    Am i doing something wrong? This Sprite Unlite Master node is not supposed to be used on UI?

    Any thoughts?

    Thank´s!
     
  2. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    17
  3. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    17
    I identify the follow behaviour:
    - for the most of windows machines tested the image component does not shows up: firefox and chrome tested;
    - some machines, don´t know why yet, when I change the aspect of the browser window the component appears. As soon as I change the aspect again, the image component hides it self.

    I am very lost here.
     
  4. quixotic

    quixotic

    Administrator

    Joined:
    Nov 7, 2013
    Posts:
    122
    hey there, will you file a bug report? This makes it much easier for us to track down issues and make sure we address them – if you post the number here I can pass that along to the team to make sure we get eyes on it.
     
  5. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    17
    Last edited: Sep 24, 2019
  6. quixotic

    quixotic

    Administrator

    Joined:
    Nov 7, 2013
    Posts:
    122
    Thank you, I'm sorry you haven't gotten a reply. The bug is open our end, looks like it's looking for a home. I just pinged some folks to see about where this belongs and what we can do about it. Given the inconsistently of behavior it might also be a thing with browsers differing levels of webgl ability, but hopefully we can address it.
     
  7. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    17
    Quixotic,
    I am very grateful. Looking forward to the retur of this problem.
    Best.
     
  8. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    17
  9. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    17
    Just receive news from bugs@unity3d.com informing that a bug is related to this problem and they are already working on it.