WarningCodes

String constants for the Code field emitted during RestoreFromJson(string, RecoveryMode, ResolutionPolicy). Use these constants to inspect specific warning types in Warnings rather than comparing raw strings.

public static class WarningCodes

Inheritance System.Object → WarningCodes

Fields

BridgedVarDropped Field

One or more bridged variables from the checkpoint have no live registration and no declared variable at restore — dropped. Context carries a “count”.

public const string BridgedVarDropped = "restore.bridged_var_dropped";
Field Value

System.String

LocationFallback Field

The checkpoint’s current location is no longer valid at restore; the runtime fell back to a default location.

public const string LocationFallback = "restore.location_fallback";
Field Value

System.String

ProjectSchemaDrift Field

Save’s projectSchemaVersion differs from the loaded project’s. Informational.

public const string ProjectSchemaDrift = "restore.project_schema_drift";
Field Value

System.String

ProjectVersionMismatch Field

The project version string at restore time differs from the one recorded in the save.

public const string ProjectVersionMismatch = "replay.project_version_mismatch";
Field Value

System.String

StaleHistoryRefs Field

Play-history entries reference a node/scene no longer present in the project at restore.

public const string StaleHistoryRefs = "restore.stale_history_refs";
Field Value

System.String

StepUnresolved Field

A commit entry could not be resolved and was skipped (only under BestEffort).

public const string StepUnresolved = "replay.step_unresolved";
Field Value

System.String

TailDropped Field

A lenient positional degrade discarded the save’s tail entries during restore.

public const string TailDropped = "restore.tail_dropped";
Field Value

System.String

UuidResolvedById Field

A commit entry’s uuid was not found; the node was resolved by its human-readable id instead (only under Lenient).

public const string UuidResolvedById = "replay.uuid_resolved_by_id";
Field Value

System.String

ValidatorLogOverrun Field

The validator log had more entries than expected — extra validated writes were ignored.

public const string ValidatorLogOverrun = "replay.validator_log_overrun";
Field Value

System.String

ValidatorLogUnderrun Field

The validator log had fewer entries than expected — some validated writes were not available for replay.

public const string ValidatorLogUnderrun = "replay.validator_log_underrun";
Field Value

System.String

VarNewlyBridged Field

A variable that was internal at save time is now accessible (bridged out); the saved value was applied.

public const string VarNewlyBridged = "replay.var_newly_bridged";
Field Value

System.String

VarNewlyBridgedAtRestore Field

A variable that was internal at checkpoint capture is now bridged (SyncVariable) at restore; the checkpoint value seeded the bridge mirror.

public const string VarNewlyBridgedAtRestore = "restore.var_newly_bridged";
Field Value

System.String

VarNewlyInternal Field

A variable that was accessible at save time is now internal; the saved value was ignored.

public const string VarNewlyInternal = "replay.var_newly_internal";
Field Value

System.String

VarNoLongerBridgedAtRestore Field

A variable that was bridged (SyncVariable) at checkpoint capture is no longer bridged at restore; the checkpoint value was written into the internal store.

public const string VarNoLongerBridgedAtRestore = "restore.var_no_longer_bridged";
Field Value

System.String

VarTypeChanged Field

A variable’s type has changed between save and restore; the saved value was coerced or discarded.

public const string VarTypeChanged = "replay.var_type_changed";
Field Value

System.String

VarUnknown Field

A variable present in the initial-var snapshot is not known to the current project.

public const string VarUnknown = "replay.var_unknown";
Field Value

System.String

Docs last synced: 2026-07-18
Screenshot viewer