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.IOAPIs. - 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
MemoryStreamwhere appropriate.Code:
ARA0501Constant:
cs::API_FILE_SYSTEMReported by: Ara.Analyzers