Save & Load System

Saving Imported Meshes

The save system allows you to store imported FBX data to disk, avoiding re-import on subsequent runs.

How It Works

  1. Import FBX file for the first time
  2. Call "Save FBX Data" function
  3. Mesh data is serialized to a save file
  4. On next session, call "Load FBX Data" instead of importing

Save Function Parameters

  • Save Name: Identifier for the saved data
  • Save Directory: Where to store the save file
  • Include Textures: Whether to save texture data

Load Function

Loading is much faster than importing:

  • No FBX parsing required
  • Direct procedural mesh generation
  • Textures loaded from saved references
  • Materials instantiated from saved data

Use Cases

  • User-Generated Content: Let users import custom assets
  • Level Editors: Save imported props for reuse
  • Configuration Tools: Load different FBX sets
  • Mod Support: Allow community-created content

Data Management

Best practices:

  • Use unique save names for each FBX
  • Implement versioning for save files
  • Provide UI for managing saved imports
  • Handle missing texture files gracefully
Runtime FBX Import for Unreal Engine - Documentation | Athian Games