Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Diagnostic code · ARA0501

File system access

The module profile forbids the reported file-system API. Gameplay data must enter through assets and gameplay state must live in ECS. The edit is rejected; the last good code keeps running.

Common causes

  • Gameplay code uses file, directory or other disallowed System.IO APIs.
  • Import or editor file handling was placed in a gameplay module.

Fixes

  • Load game data through assets and store state in components or resources.

  • Move editor file handling into an editor module; for purely in-memory processing, use permitted types such as MemoryStream where appropriate.

  • Code: ARA0501

  • Constant: cs::API_FILE_SYSTEM

  • Reported by: Ara.Analyzers