Unity Debug Log Error Prevention