Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Why are my prefab and model previews not showing?

Discussion in 'Editor & General Support' started by sballew7, Jul 12, 2019.

  1. sballew7

    sballew7

    Joined:
    Sep 3, 2013
    Posts:
    76


    My prefabs and models are showing up with a black preview. Same with the animation preview window.

    I imported some assets into my project, and those render correctly. If I duplicate one of those prefabs, the duplicated instance will instantly have a black preview. I didn't even modify the duplicate.

    Has anybody seen this? How can I fix it?

    Thanks!
     
  2. sballew7

    sballew7

    Joined:
    Sep 3, 2013
    Posts:
    76
    This is now happening on every prefab in my project. It's becoming pretty difficult to navigate my project as a result. Any input is appreciated.
     
  3. sballew7

    sballew7

    Joined:
    Sep 3, 2013
    Posts:
    76
    I made some progress. I have a custom LWRP configuration in place. When that is in use, all my asset previews are black. When I switch back to the standard LWRP configuration and reimport, they work.

    That's unfortunate, and I'll have to find some other workaround or wait for this bug to be fixed.
     
  4. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    8,278
    Probably your materials and shaders. More info for example here:
    https://blogs.unity3d.com/2018/02/2...er-pipeline-optimizing-real-time-performance/
     
  5. TimCoster

    TimCoster

    Joined:
    May 19, 2016
    Posts:
    13
    I'm having this problem too with 2019.3.5f1 on MacOS. When I remove the URP Asset from the pipeline settings all the preview images work after I reimport them but then they're all pink because I'm using URP Shaders..
    With the URP Asset enabled in the settings all the preview images are just black..
     
  6. Bip901

    Bip901

    Joined:
    May 18, 2017
    Posts:
    70
  7. Pau-Setup

    Pau-Setup

    Joined:
    Oct 18, 2014
    Posts:
    2
    Something that it worked for me:

    Select all the prefabs that you see black. Disable the Mesh Renderer from the inspector to all of them, and enable it again. That will force Unitys project file manager to refresh the preview of the prefab mesh.
     
    Gianetti likes this.
unityunity