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

Question Sprites don't show up in editor

Discussion in '2D' started by Captainsnacc, Jun 30, 2020.

  1. Captainsnacc

    Captainsnacc

    Joined:
    Jan 10, 2020
    Posts:
    4
    The art for sprites doesn't show up in the editor/scene view. When I actually run the program I can see my sprites just fine- but when I'm simply trying to move them around the scene or fit 2D colliders to the shape of the sprites I can't see them. I know for a fact that at one point I could see them so I'm quite confused by this.
     
  2. DiegoDePalacio

    DiegoDePalacio

    Unity Technologies

    Joined:
    Oct 28, 2009
    Posts:
    506
    Hi @Captainsnacc

    Do you have any messages in the Console window?
     
  3. Mazer83

    Mazer83

    Joined:
    Mar 14, 2016
    Posts:
    19
    Select one of the sprites using the hierarchy menu, then press F.

    If that doesn't work, it could be a render pipeline issue, were you using the Unified Render Pipeline recently, and then stopped using it?
     
  4. Captainsnacc

    Captainsnacc

    Joined:
    Jan 10, 2020
    Posts:
    4
    no

    All pressing F did was zoom in on my lack of sprite. I have always used universal render pipeline and am still using universal render pipeline.

    These are the settings on all my sprites- spritesettings.PNG

    When I have made a new sprite (with these exact same settings) it renders in the scene view just fine. However, duplicating a sprite that already had the issue still has the issue. I also did a "manual duplication" where I made a new sprite with the same settings in everything (even unrelated scripts like AI) and it still did render in the scene view.
     
  5. Mazer83

    Mazer83

    Joined:
    Mar 14, 2016
    Posts:
    19
    Can we see what the transform looks like on your invisible sprites? Let's compare them to your visible ones.
     
  6. Captainsnacc

    Captainsnacc

    Joined:
    Jan 10, 2020
    Posts:
    4
    invisible enemy:
    visibleenemy.PNG
    visible enemy:
    invisibleenemy.png
    Their Z's used to be different, but I tried setting them equal to see if that would fix the problem. It didn't. I don't think it's the X or Y value as I can move that around freely on the visible enemy without it causing any problems.