This only happens in the final build. Everything works fine in the editor and in Standalone mode. But in the final build, the character slides along the ground half a meter below it.