I have recently tried to develop a replica of "Big Head Football", but with a shoe (lol). But on playtest, I found some errors that occur in box colliders of the goal. In fact, it occurs almost every time I play with my partner. The player sticks with the goal's collider. Here are some snapshots:
It even occurs within the players:
I have done the following stuff to avoid this. It gets less often, but not totally correct:
Changed "Update" to "FixedUpdate".
Change the size of the collider2D.
Shifted from edge to box, and even tried different colliders (except custom collider).
_____________________________________________________________________________________________________________________________________________
Please help me in my development. I can send more info about my scripts and projects if required.
Note: This project is made in UNITY, and is based on C# SCRIPTS.