Diagnostic code · ARA0500
API outside module allowlist
A framework API is outside the module profile's allowlist. The diagnostic identifies the API and profile; compilation is rejected and the last good code keeps running. Agent ara_run scripts have a separate check reported as ARA0961.
Common causes
- Gameplay code calls a framework type or member outside the permitted core runtime and Ara APIs.
- Editor tooling is compiled under the default
gameplayprofile.
Fixes
Replace the reported API with an Ara API or an allowed collection, math or text API.
Move genuinely editor-only functionality into a separate module with
profile = "editor"inara.module.toml; keep gameplay in its gameplay module.Code:
ARA0500Constant:
cs::API_NOT_ALLOWEDReported by: Ara.Analyzers