Time, history, and restoration¶
Lifecycle elapsed time comes from the owning context, not a sum of MonoBehaviour deltaTime values. This lets an enabled instance reconcile clock changes and lets a disabled instance account for elapsed chronology when it resumes.
Pause and re-enable¶
PauseLifecycle() holds lifecycle progression without pausing the world. ResumeLifecycle() resumes it. Initially Paused is an instance authoring choice; it is different from a zero stage/base/external rate and different from pausing Time System.
Disabling a GameObject is not a request to pause its chronology. Re-enabled objects reconcile elapsed source time. Call pause deliberately if gameplay requires a process to stop while hidden. Reconcile() is available after an explicit clock change when immediate lifecycle reconciliation is needed; ordinary reconciliation is in LateUpdate at execution order 5100.
Backward time policy¶
PreserveProgress retains progress on rewind, using a high-water cursor to avoid crediting the same interval twice. ReverseAutomaticProgress (component default) replays recorded automatic progression toward an earlier chronological position.
Reversal is bounded to recorded history (up to 1024 rate slices); adjacent equal rates can merge. Older history becomes a permanent base when the bound is exceeded. It is not an unlimited world rewind system. Manual stage changes form non-reversible history barriers. Changes of clock kind or context can rebase history rather than reinterpret unrelated timelines.
Replay reconstructs lifecycle state without replaying historical gameplay event side effects. Do not award items in a stage event and expect the framework to remove those items when time moves backward. Keep economy/inventory rollback in your own authoritative gameplay system.
Offline progress¶
Default offline progression is Disabled. ConstantRateForSystemTime is opt-in and applies on restoration of absolute UTC/system-clock chronology after restart. It uses the saved common progression rate, clamps credited time to Max Offline Days (default 30), and does not credit a paused/completed/unstarted lifecycle.
This is a constant-rate catch-up approximation, not historical weather/season replay. Simulated clocks do not automatically gain elapsed real-world time while the application was closed. Ordinary in-session re-enable reconciliation and offline restoration are separate behaviors.
Persistence ordering¶
Prefer the context/world persistence orchestrators. Register scene instances with stable local IDs and include needed profile catalog entries. Restoration validates state, restores the owning clock/configuration first, then applies lifecycle state while progression is suspended.
Low-level RestoreState requires validated compatible data and the correct restored clock; invalid input can throw. It restores silently and uses StateReconciled for adapters, not a replay of every stage event. Do not independently restore each crop before restoring the clock and assume its cursor will line up afterward.
If progression appears stuck, inspect start/pause/completion, current stage auto-advance, rates, missing-season policy, source availability, and high-water/history position. If only models look wrong, inspect the presenter instead.
Related: progression setup, lifecycle visuals, context persistence.