Thanks for your answer.

Am I right that this means, that I have to use ent_purge to free the video memory for all entities that I have created by ent_create before changing the level?

Regards,
Pegamode