We aim to create Unity content automatically.
Specifically, I want to create a new scene by pressing the run button and place an object in that new scene.

For that, I think it is necessary to create a scene with a script and create an object in that scene. It doesn't come out even if I check it, but is it possible to manage the generation of the scene with a script in the first place?

  • Answer # 1

    Scene generation is not available for normal gameplay.
    It is possible with an editor extension. Try google with words like "unity editor scene creation".

    You should also consider "Is it really necessary to create a scene?" (Because object placement is also possible during normal gameplay).

Related articles