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

Question Color in editor and no color in game

Discussion in 'Shader Graph' started by Mawkey, Jul 19, 2019.

  1. Mawkey

    Mawkey

    Joined:
    Apr 15, 2018
    Posts:
    15
    I tried to make a shader using Shadergraph and I added some color to it and applied the shader to my UI.
    In the editor it shows the color and in game it's just black. Does anyone have any idea what is causing this? Thanks.
    I would post a video showing the issue at hand, but the anti spam stops me from doing so.
     
  2. alexandral_unity

    alexandral_unity

    Unity Technologies

    Joined:
    Jun 18, 2018
    Posts:
    163
    Shader Graph doesn't officially support UI yet, depending on how you've set yours up that might be causing the issue
     
  3. Mawkey

    Mawkey

    Joined:
    Apr 15, 2018
    Posts:
    15
    I've put the shader in a Canvas with an image component. The image component has the Material with the shader. It's animating correctly but there is no color sadly...