For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download Play Mode Save for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Play Mode Save v3.9.3 (Latest version)
Play Mode Save v3.9.1
Play Mode Save v3.7
Play Mode Save v3.6
“If possible, please buy the package to support the developer”
This tool allows you to save changes made in play mode.
Features
Save changes made in play mode to any component, built-in or custom.
Save a snapshot of the values of the component.
Save the values of the component as they are when exiting play mode.
Save the values of SriptableObjects immediately.
Save all components in a gameobject and its children.
Save objects and components created in play mode.
Save changes made to dynamically loaded or added scenes.
Save the entire hierarchy.
How to use:
In play mode. Right-click on the component to open the context menu.
Click Save Now or Save When Exiting Play Mode.
Only works on Unity 2019.2 or higher.
New features are continuously added based on user requests.
Limitations
It only saves changes to serializable components, that is, all unity built-in components, and custom components with serialized fields.
–<>–<>–<>–<>–<>–<>–<>–
3D and 2D assets in the videos are not included in the package.