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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Resolved Sprite size completely different in Game view vs Scene view

Discussion in '2D' started by Wombat_Rancher, Jul 25, 2021.

  1. Wombat_Rancher

    Wombat_Rancher

    Joined:
    Jul 25, 2021
    Posts:
    6
    Hey everybody, i'm having this weird issue where one of my Sprites is only a fraction of the size of all the others, but appears in normal size in my game view. When I make it normal sized in the scene view, it disappears in the game view because it gets too big. Any idea where this issue is coming from?

    Thanks in advance
     
    Last edited: Feb 4, 2022
  2. Unrighteouss

    Unrighteouss

    Joined:
    Apr 24, 2018
    Posts:
    599
    Hey,

    Canvas elements are rendered over the screen regardless of where you are in the game world, so their size is completely disjointed from other elements in your scene.

    One solution is to use a UI image instead of a sprite. Right click in hierarchy -> UI -> Image.

    Hopefully that helps, good luck.
     
    Wombat_Rancher likes this.
  3. Wombat_Rancher

    Wombat_Rancher

    Joined:
    Jul 25, 2021
    Posts:
    6
    Thanks for the tip! Changing the Sprite to an Image solved my problem!
     
    Unrighteouss likes this.