create a new scene.
CreateUnityScene["name"]
create a scene with the specified name.
CreateUnityScene[File["file"]]
create a named scene saved at the given file path relative to the Assets folder.


CreateUnityScene
create a new scene.
CreateUnityScene["name"]
create a scene with the specified name.
CreateUnityScene[File["file"]]
create a named scene saved at the given file path relative to the Assets folder.
Details and Options
- CreateUnityScene returns the UnityScene it created, and $Failed if it cannot be created.
- The following options can be given:
-
Method Automatic whether the open scenes will be closed when creating the new scene "NewSceneSetup" Automatic whether the default game objects should be added to the new scene
Examples
open all close allBasic Examples (2)
Options (2)
Method (1)
By default, all open scenes are closed when a new scene is created:
Use the Method option to create a new scene without closing the open scenes:
Related Guides
Text
Wolfram Research (2019), CreateUnityScene, Wolfram Language function, https://reference.wolfram.com/language/UnityLink/ref/CreateUnityScene.html.
CMS
Wolfram Language. 2019. "CreateUnityScene." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/UnityLink/ref/CreateUnityScene.html.
APA
Wolfram Language. (2019). CreateUnityScene. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/UnityLink/ref/CreateUnityScene.html
BibTeX
@misc{reference.wolfram_2025_createunityscene, author="Wolfram Research", title="{CreateUnityScene}", year="2019", howpublished="\url{https://reference.wolfram.com/language/UnityLink/ref/CreateUnityScene.html}", note=[Accessed: 12-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_createunityscene, organization={Wolfram Research}, title={CreateUnityScene}, year={2019}, url={https://reference.wolfram.com/language/UnityLink/ref/CreateUnityScene.html}, note=[Accessed: 12-August-2025]}