-[Arx/src/game/Entity.cpp:291]: (error) Deallocation of an global variable results in undefined behaviour.