Saving and loading GameObjects and Prefabs

For information on saving and loading GameObjects without code, please see the Auto Save guide.

Your scene must have an Easy Save 3 Manager to save and load GameObjects. To add this to your scene, go to Assets > Easy Save 3 > Add Manager to Scene.

Once you have done this, GameObjects can be saved and loaded like any other object:

This will save and load the following:

If there are multiple of the same Component on a GameObject, only one will be loaded.

To save and load a prefab instance:

  1. Right-click the prefab and select Enable Easy Save for Prefab.
  2. Use ES3.Save to save the instance or an array of instances.
  3. To load, use ES3.Load or ES3.LoadInto.
  4. Easy Save will create an instance of the prefab if it doesn’t exist in the scene.