Okay, after another bunch of tests I nailed it down to the relation between vertices of the model and the vertices needed for its skin.
When their numbers are identical, then everything is fine.