C# Unity Editor Tool to save in-game state back to scene.
Budget: $30 – $250 USD
When playing a scene in Unity's Editor, changes are not saved back to the scene. I would like a feature to NOT lose certain changes. An option when right clicking an object in the hierarchy, or expanding the component menu in properties, "Save to Scene", that only is available during game play. Clicking it should serialize the game object (+ children) or component, back to the scene. I should be able to do this to multiple objects and components.
A consideration on how, is that you would serialize the game object or component to file or memory, and then on exiting the play mode, it will take those serialized values and restore them to the scene, by finding matching object ID's/paths. How it is done, is not important. Another option is to have it save a game object to a prefab and reset it after.
C#, No third-party packages, Unity LTS.
There are edge cases that I do not expect solutions to yet.
* Trying to overwrite prefabs from the scene would likely cause issues.
* Deleted children or components of a game object would be hard to realize, so saving deleted state would not be expected to be solved.
* There may likely be others.
A consideration on how, is that you would serialize the game object or component to file or memory, and then on exiting the play mode, it will take those serialized values and restore them to the scene, by finding matching object ID's/paths. How it is done, is not important. Another option is to have it save a game object to a prefab and reset it after.
C#, No third-party packages, Unity LTS.
There are edge cases that I do not expect solutions to yet.
* Trying to overwrite prefabs from the scene would likely cause issues.
* Deleted children or components of a game object would be hard to realize, so saving deleted state would not be expected to be solved.
* There may likely be others.