- Home /
 
Save scene
Hey, im using:
 EditorApplication.SaveScene("maps/", true);
 
               and if i play in playmode (in Unity Editor without build), unity call me:
 "InvalidOperationException: This cannot be used during play mode."
 
               I created map editor and i need create scenes (missions and custom maps) and save it als unity scene file (.unity). Its possible any way?
Answer by mbraley · Dec 23, 2016 at 08:13 AM
You're instinct is correct, it is not possible to save a scene externally to the UnityEditor. You can create an empty scene at run-time and then instantiate game objects in that scene.
Your answer
 
             Follow this Question
Related Questions
Unity problem when i convert playerprefs save to the standard file io save 0 Answers
How to save user levels? 0 Answers
Problem with saving and loading game timer 0 Answers
Saving Player Data 3 Answers
Save Game Sceenes user quit aplication, Can I save the scene as a whole while leaving the game? 0 Answers