Search Unity

Question UI Sprite Unlit graph does not work on certain Android devices

Discussion in 'Shader Graph' started by Bastienre4, Aug 20, 2019.

  1. Bastienre4

    Bastienre4

    Joined:
    Jul 8, 2014
    Posts:
    191
    Hello!
    I made a simple shader that does a gradient depending on the y screen position.
    upload_2019-8-20_20-6-38.png
    It works fine in editor and on some android devices (Honor 10 for instance). But on some lower end devices, the UI Image is invisible!
    I used the Frame Debugger to check if the Image was rendered or skipped and the draw call is here
    upload_2019-8-20_20-8-57.png
    Here is the same draw call on a device where the image is fine
    upload_2019-8-20_20-12-34.png
    Do you have any ideas how I could debug this?
    Thanks and have a nice day!
     
  2. juliodutracora

    juliodutracora

    Joined:
    Jun 11, 2019
    Posts:
    17
    I got something like this.
    Using sprite unlite on webgl does not work on chrome. The component image goes transparent. But it works on editor and firefox(webgl). What is even weird.

    Have you found any work around?
     
  3. Bastienre4

    Bastienre4

    Joined:
    Jul 8, 2014
    Posts:
    191
    Not really, but try changing the color mode from linear to gamma
     
  4. yigitkanat

    yigitkanat

    Joined:
    Feb 13, 2023
    Posts:
    3
    Hey! Did you find a solution?