[2D] Player Goes inside 'Platform with Box Collider' if velocity high enough

So The Problem is that i have a platformer in which the player dashes some distance…
But, if i dash close to a higher platform or into a wall or steps… sometimes my player goes ‘Inside’ it breaking through the Box Collider.
How do i fix that??
Here’s an example - (Normal and inside Platform Pics)

Inside Platform

You can put the collision detection on the Rigidbody of your player to continuous. I had the same problem. (I didn’t have slopes though, but I think that shouldn’t matter.)

@mayIHaveThisDance, we can’t tell unless we see the code for moving the player and the collision testing.