Persistent Instances

Session Persistence

Understand in-memory instances, scene tags, and the Reset Game instruction.

Session Persistence

Persistent Instances follows the same memory model as the Game Creator 2 Save System. Instantiated objects stay in memory during the current play session even when you do not save the game.

When you leave a scene and return to it, objects registered by Persistent Instances are restored automatically.

Use the Reset Game instruction to clear this stored memory. It resets Game Creator memory and removes the stored instances.

Scene Tagging

Persistent Instances adds a hidden component with the scene's internal GUID. This GUID tells the system which instantiated objects belong to which scene when a save is loaded.

Only scenes saved after Persistent Instances was installed are handled by the system.

If a scene's .meta file is deleted, Unity gives the scene a new GUID. Existing saves that use the old GUID will no longer load that scene correctly.

Tag Scenes Manually

Tag every scene again from:

text
Game Creator > Persistent Instances > Tag Scenes

This adds or updates the hidden scene GUID component.