I want to see if there’s a way to edit some script, and see the changes without having to restart the game. You know how you’ve got the unity editor in which you set up your scene’s initial state, and you click play and it compiles and runs. After that to see any changes you might make on the scripts, you’d have to restart the game.
Is there any possible way to use the current state of the game at runtime as the starting point? Sometimes I’d like to change something in the code, and I want to see what it does to what’s currently going on in runtime, and if I were to restart the game it’d be hard to re-create the current situation. Being able to see how a modification in a script performs without having to restart would save me a lot of time in many occasions.
If only I could ‘save scene as’ while the game is playing, saving the current scene state at runtime, then I could load the scene and do changes to the scripts and see what happens.
Sadly the only way I know to do it is to roll your own save/load system. Sorry ![]()