Search Unity

Question Shader Graphs's main preview is blank

Discussion in 'Shader Graph' started by raingame_, Jul 7, 2019.

  1. raingame_

    raingame_

    Joined:
    Jan 15, 2019
    Posts:
    28
    I used Unity 2019.1.0f2, and then I updated Unity to 2019.1.9f1 and I still have main preview window blank, how do I fix this?

    http://prntscr.com/oboz3y
     
    Last edited: Jul 7, 2019
  2. romanpapush

    romanpapush

    Joined:
    Sep 20, 2012
    Posts:
    40
    Maybe you're zoomed inside of the preview object? Have you tried changing the preview primitive?
    Also, you're utilizing alpha, are you sure, you're not just setting everything to invisible?
     
  3. raingame_

    raingame_

    Joined:
    Jan 15, 2019
    Posts:
    28
    No, it is not zoomed. Yes, I have tried changing the preview primitive. Even new graph's preview window is blank. But in the end I created some shader in HDRP menu and its window is okay. But PBR Graphs window is still blank, but it works fine.
     
  4. romanpapush

    romanpapush

    Joined:
    Sep 20, 2012
    Posts:
    40
    What version of Shader Graph are you using?
     
  5. raingame_

    raingame_

    Joined:
    Jan 15, 2019
    Posts:
    28
    Shader Graph 5.7.2 and Unity 2019.1.9f1
     
  6. romanpapush

    romanpapush

    Joined:
    Sep 20, 2012
    Posts:
    40
    Yeap, checked on the same versions, can confirm — no preview for PBR Graph (tested in HDRP).
     
    raingame_ likes this.
  7. Pimpace

    Pimpace

    Joined:
    Sep 21, 2017
    Posts:
    41
    Same with 2019.2.2f1 LWRP PBR shader. (Windows 10)
     
  8. Santacrab

    Santacrab

    Joined:
    Apr 8, 2013
    Posts:
    2
    Same on 2020.1.2f1 using Sprite Unlit Graph on Windows 10.
    On MacOs it works
     
    Last edited: Aug 15, 2020
  9. LYN1995

    LYN1995

    Joined:
    Apr 28, 2019
    Posts:
    11
    I have the same problem. Have you solved it?
     
  10. LYN1995

    LYN1995

    Joined:
    Apr 28, 2019
    Posts:
    11
    Delete the old universal render pipeline asset and render, and then re import the LRP and shadergraph packages.