Search Unity

Question Shader not working in scene and neither in preview

Discussion in 'Shader Graph' started by Boutei, Apr 16, 2021.

  1. Boutei

    Boutei

    Joined:
    Apr 19, 2017
    Posts:
    1
    Hello,

    So I was doing a simple shader, with some movement and it worked in the Main Preview on the Shader panel but not in the scene. I thought it was because of the toggle button/always refresh on the Scene panel but it was activated, I also saved my material to update it.

    I restarted Unity and now not even the Main Preview is working. I disconnect everything and not even that is working.

    Does anyone have any idea what could be happening?

    Thanks


    01.png 02.png 03.png
     
    Sarumans_77 likes this.
  2. Sarumans_77

    Sarumans_77

    Joined:
    Apr 21, 2020
    Posts:
    3
    Same or similar problem!
    Please help!
    ______________________

    Hi, I'm trying to create Materials in Unity, too,
    for some reason I could import Materials from Blender,
    (even though it didn't bring the hair particles),

    but when I tapped into Shadergraph, the Preview was pink (and still is)
    and all Materials which I assign the Shadergraph Shader to, are also pink.

    It makes no sense, the node previews work, but the general Preview
    and the Shader Output don't.

    I've tried playing around in the Graph Inspector, but so far I haven't stumbled on anything, yet.
    __________________________

    Edit: I'm using URP though:
     

    Attached Files: