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).
That green line in the right most. It’s a part of my transition screen.
a link for a video that showcases the problem: