colision problems when building game

when I export my game the collision boxes don’t get built.
I change the mesh for the collision of my player while the game is running. when changing into another form than the default mesh the player falls through the floor!
is there a way to export a collision “hitbox” while building?

I figured out that if you just have the same object loaded somewhere with collisions on it works