How to not slide off the stairs in game mode?
May I suggest you switch it around. Instead of adding a mesh along the stair's geometry you could just make your character's collision mesh with a chamfer. In that way you don't have to create extra meshes for your stairway.

Without the ramp object the mesh will not slide down a gradient but rest on the surface of perfectly flat geometry in your scene when you stop.