Thanks! I did use tilemaps for the environment which is why I was confused I came across the bug so often but couldn't find a solution. I'll have to look into composite collider