Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

My shader graph material is pink

Discussion in 'Shaders' started by SilentAndAsleep, May 1, 2018.

  1. SilentAndAsleep

    SilentAndAsleep

    Joined:
    Apr 24, 2018
    Posts:
    7
    Hi! Coming from Unreal, I'm having quite a hard time with unity but I'm getting the gripe of it. :)

    I'm using the HD render pipeline. Everything is set up properly (I've selected the HD render pipeline in the graphics menu, converted the scene materials to the HD pipeline, so on so forth). For some reason, no matter what I do, my material remains pink.



     
    kkrg001 and Zklegon like this.
  2. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,497
    I don't believe ShaderGraph is compatible with the HDRP yet, just the LWRP.
     
    Aram-Azhari and srikanthTalakala like this.
  3. yugohg

    yugohg

    Joined:
    Nov 24, 2014
    Posts:
    1
    I have the same problem...
     
  4. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,497
    Read the comment above the one you just made.
     
  5. Might1321

    Might1321

    Joined:
    May 30, 2018
    Posts:
    1
    I have the same problem, but i am using LWRP
     
    P_Jong and RAIN_proger like this.
  6. cfree

    cfree

    Joined:
    Sep 30, 2014
    Posts:
    72
    vinispicanco likes this.
  7. Piroshi001

    Piroshi001

    Joined:
    May 16, 2014
    Posts:
    5
    I had the same problem and what I did to fix the problem is:
    install Lightweight Pipeline from window/package manager
    in project panel select : Create/Rendering/Lightweight Pipeline asset
    Ente to r: Edit/Project settings/Graphics
    Add the Lightweight Pipeline asset created before to Scriptable Render Pipeline settings

    And that all, Now the shader works
     
  8. TheGrimSilence

    TheGrimSilence

    Joined:
    Jun 8, 2018
    Posts:
    1
    Thank you so much!!
     
    fateshow likes this.
  9. aryon

    aryon

    Joined:
    Jun 2, 2017
    Posts:
    1
    Thank you very much, you saved my life. Now I can enjoy my custom shaders
    Greetings from Barcelona Spain
    NOTE: I used google translator to write you why not to write English and I do not know if google translate well Spanish;)
     
    Piroshi001 likes this.
  10. phobos2077

    phobos2077

    Joined:
    Feb 10, 2018
    Posts:
    350
    I did this and now everything in the scene and game view is pink... Does anyone have a solution?

    Edit: never mind, seems like I need to also convert ALL of my materials to Lightweight pipeline... That's inconvenient.
     
    fateshow, Lethn, P_Jong and 1 other person like this.
  11. RiteshGupta

    RiteshGupta

    Joined:
    Jun 5, 2018
    Posts:
    1
    Thank you very much....:)
     
  12. susanlu

    susanlu

    Joined:
    Jun 8, 2018
    Posts:
    1
    i had the same problem !!! everything in the scene and game view is pink
     
    P_Jong likes this.
  13. polysoft3D

    polysoft3D

    Joined:
    Aug 3, 2015
    Posts:
    29
    i had the same problem !!! everything in the scene and game view is pink
     
  14. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,658
    Guys, read what @Invertex wrote above.
    The ShaderGraph is currently NOT supported by the High Definition Rendering Pipeline (HDRP). That's why you see pink.
     
  15. Preshu

    Preshu

    Joined:
    Feb 3, 2016
    Posts:
    9
    You are the man!!!, it works!!, thank you!.
     
  16. martten

    martten

    Joined:
    Aug 28, 2014
    Posts:
    1
    You can do it automatically by choosing Edit > Render Pipeline > Upgrade Project Materials to LightWeight Materials.

    Then all the currently active materials using are converted and will be behaving normally.
     
    wagnerps, Lethn, Hoorza and 1 other person like this.
  17. Zklegon

    Zklegon

    Joined:
    Aug 24, 2018
    Posts:
    13
    Thanks for the help Piroshi001 and Phobos2077!
     
  18. cancolbert

    cancolbert

    Joined:
    Oct 3, 2018
    Posts:
    2
    Piroshi001 you solved my problem, too! Thank you.
     
  19. Obidiich

    Obidiich

    Joined:
    Apr 8, 2022
    Posts:
    1
    THANKS, im using the unity 2020.3.26f1 with the URP and it works too with almost the same steps