Made game objects clear the log cache and update when destroyed.