How to Freeze a scene so I can reload it exactly how it is

Hey guys, I was wondering if there was a way I can “freeze/pause” a scene and load it back up?

I have my game set so that it goes to the death scene on death, but I want to add an option to have a second life. If there is a way to basically freeze a scene and have it loaded exactly how it was, that would be perfect.

Good day.

As far as i know, there is no a “freeze” function.

If want to reload a scene exactly as how it was, you need to store all information and load it again (positions, variable values, etc…)

If don’t know how to do it, i strongly recommend you to watch this Unity Tutorial about data persistance.

Bye!