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?