Diagnostic code · ARA0921
Generated bindings are stale
The C# runtime's ABI version, layout hash or generated structure sizes do not match the Rust host. Script-runtime initialization is rejected before incompatible bindings can be used.
Common causes
- Generated C# bindings were not updated after an ABI or schema change.
- The host and C# runtime were built from different engine revisions or stale artifacts.
- Exported
scripts.jsonhas a different ABI version or engine layout hash than the player.
Fixes
Regenerate with
ARA_UPDATE_GENERATED=1 cargo test -p ara-script --test generated, then rebuild the .NET artifacts and matching Rust host.Restart the host with artifacts from the same revision; a default-context runtime assembly cannot be replaced by a module reload.
For a shipping export, rebuild gameplay scripts and the player with the same Ara SDK, then export again.
Code:
ARA0921Constant:
script::STALE_BINDINGSReported by: ara-script, Ara.Runtime