@sivan I used your method and it worked ,but then I would have to delete all the editable stuff. I really prefer to publish my project in the normal method.
@Malice Yes, I do get a warning but not with all entities, just two or three.
The problem is just with entities (models and sprites) I don't have terrains or map entities in the game.