It's really not bad, if I may advise you, when making a platformer use a physics material 2d to set the friction of your character to 0, that way it won't get stuck to the sides of platforms when he misses a jump
thank you ,i know it but this time i forgot to set it to zero that's why this weird thing happened,but i will fix it,
however thanks for showing such bug it is really helpful for me.
no prob'
thank you,now i have fixed the bug and now player falls down if he misses the jump.