The scene file is empty, it shows a full script in the editor but the file contains no data, on preview script files are saved but scene files are not, why?
So yeah saving the file first then preview works, anypreview after than and the file does get saved, when its created no data is generated or saved, you have to literally add something to the scene, save it then Studio will do what its supposed to!
1. Create a new project
2. Add a scene (do nothing else with the scene)
3. Include the scene and call the setup function in main.agc
4. Run the project