set scene debug before world created does not work

I'd rather bail early here, if there is no change.  Is there a reason you deferred this to the end of the function?