Problem with 2D collision detection (Wide object falls through a thin hole)

Hi!

My Player object falls through a hole smaller than he is.
I’m using 2D colliders and PlatformEffector 2D on platforms/walls.

https://giphy.com/gifs/popih9YJhZjYA/fullscreen

How can I prevent that from happening?

Thank You in advance! =)

Changing ‘Collision Detection’ from ‘Discrete’ to ‘Continuous’ seems to fix this problem, but I’m not sure if this is the best solution.