Just an update on this issue: Apparently, the problem occur only when the entity is added previously in the level creation. That is, if I create an entity in the script (with a animated model, doesn't matter) there isn't any error!
Not sure why, but at least I can continue working.