I want to automatically start a script when my scene has finished loading

I need my be able to detect when my scene has completed loading so that I can fire my exporter script and export the contents of the scene. Obviously I can’t start to export until the scene has finished loading hence the question. How do I detect/determine that everything has finished loading?

Regards, rapier685

But everything in the Start() function
happens once the level is loaded.

For the GameObjects in that particular scene, yes. For GameObjects created in a previous scene and persisting through the use of DontDestroyOnLoad, this is not true.
As was my problem when I came across this thread. So thought I’d just chime in and give a FYI.
I recommend using Monobehaviour OnLevelWasLoaded
Also, Application is being replaced with SceneManager. So this is a good option when persisting data.

You can look at Application.isLoadingLevel. returns true, if a level load was requested, false, after it has loaded. But everything in the Start() function happens once the level is loaded.