The bug was purely random, sometimes the character landed but it fell through the floor very often. I guess it's the issue related with framerate but not completely sure