Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Question The UI sticks from the sides.

Discussion in 'UGUI & TextMesh Pro' started by Xiddo, Feb 12, 2021.

  1. Xiddo

    Xiddo

    Joined:
    Jan 2, 2021
    Posts:
    4
    I encountered the weirdest bug yet (for me). For some unknown reason after I play an animation of a UI object and I make it inactive (or I don't doesn't change anything), or destroy it it sticks from the side. Close to a little and it's very annoying. I tried building it. doesn't change a thing, tried to play it on another pc; doesn't change a thing. In unity for some reason when the resolution of the play screen changes (as example when I exit for screen on the game or change the Aspect ratio it disappears and when I play again the animation it appears again). And for another unknown reason when I use pixel perfect it doesn't happen. And for another unknown reason it is a perfect pixel compared to my game (which is pixel art).
    ppdd.PNG
    That green line in the right most. It's a part of my transition screen.

    a link for a video that showcases the problem:
     

    Attached Files:

    Last edited: Feb 12, 2021
    Nexer8 likes this.
  2. Nexer8

    Nexer8

    Joined:
    Dec 10, 2017
    Posts:
    271
    I had a similar thing happen. It shows very clearly as I have colored elements on a gray canvas. You can see 1 pixel wide/tall lines that go along the edge of the screen and that persist even after you have removed the elements.
     
  3. Xiddo

    Xiddo

    Joined:
    Jan 2, 2021
    Posts:
    4
    Right! that's exactly what happens. Did you ever find a fix for it?
     
  4. Nexer8

    Nexer8

    Joined:
    Dec 10, 2017
    Posts:
    271
    Nope. Probably a bug that should be reported though.