Debug clear and remove for terrains and resources