square-checkBest Practices

OMNI SAVE API USAGE BEST PRACTICES

  • Always call SaveAll() after Save() to persist

  • Set CurrentSlot before saving & loading

  • Use descriptive keys: "playerHealth" not "h"

  • Check with Has() before loading optional data

  • Use Global scope accordingly (only for cross-scene data)

  • Generate new GlobalIDs when duplicating objects: Validate Global IDs are not Duplicate.

  • Test migrations with backups enabled

  • Use async methods for better performance

NO-CODE OMNI SAVE BEST PRACTICES

  • Only Save Essential Data: Do not save random data on Saveable components without a reason. More Fields toggled = More Data to Save & Load. This Practice applies for both API & No-Code workflows in OmniSave.

Last updated