Search Unity

Question Player clipping into Background

Discussion in 'General Graphics' started by Code_to_the_top, Feb 28, 2023.

  1. Code_to_the_top

    Code_to_the_top

    Joined:
    Jan 2, 2023
    Posts:
    5
    My Player is clipping into the Background randomly and most of the times when a new player animation is being played. I already tried to set the background to a different sorting layer and I tried a different aspect ratio but both didn't help. I really have no Idea how to solve this. Any help is appreciated! Screenshot 2023-02-28 at 14.31.20.png
     
    Last edited: Feb 28, 2023
  2. Code_to_the_top

    Code_to_the_top

    Joined:
    Jan 2, 2023
    Posts:
    5
    I fixed it: just put the background on a higher z value than all your other stuff