Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Diagnostic code · ARA0101

Behaviour field without transient marker

A Behaviour instance field is not marked [Transient]. Behaviour objects are recreated on reload and cannot own authoritative state. The edit is rejected; the last good code keeps running.

Common causes

  • Gameplay values are stored in ordinary behaviour fields.
  • A disposable presentation cache lacks [Transient].

Fixes

  • Convert persistent values to [Property] partial instance properties backed by the behaviour's ECS column, or move them into a component.

  • For a cache that can be lost and rebuilt on reload, apply the Mark as [Transient] cache code fix.

  • Code: ARA0101

  • Constant: cs::BEHAVIOUR_FIELD

  • Reported by: Ara.Analyzers