LoopKit — Time Loops & Persistent Knowledge


Documentation https://merrymaker14.github.io/loopkit/ — the same guides are included in the package as ... A courier leaves before the player can read a note. ... The package includes:


by Strange Euphoria XR


Price History +

Build time loops without scripting the core loop. Schedule actions and character routes, save clues across game launches, and inspect each observer’s evidence. Two playable samples included.

Key features

  • Loop clock with game-time or real-time source, speed, owner-based pauses and time skips.
  • Scheduled UnityEvent actions at loop seconds or a time of day.
  • World facts kept separate from what each observer knows; every clue records its source and reason.
  • Persistent memory across loops and game launches: validated loading, atomic saves, previous-file backup and an explicit recovery call.
  • Verified resets: cancel, wait for outstanding work, restore participants, verify, then run.
  • Transform routes and optional NavMesh routes (Navigation 2.x).
  • Workbench window, localized inspectors and four read-only MCP diagnostics (Unity Pipeline 0.8.0-exp.1).
  • Two samples, including The Last Bell, a complete three-loop mystery.

Requirements

Unity 6000.5.7f1; compatibility has been validated on this version only. The prepared sample scene, prefab materials and lighting require URP 17.5; the LoopKit core is independent of the render pipeline, and a Built-in scene generator is included. No AI model, paid API or online service is required.

Supported OS

Windows (tested). The package contains no native plugins.

Boundaries

Durable memory restores knowledge into a new loop; it is not a general scene serializer. Custom inventory, animation state, parent/scale changes and destroyed-object reconstruction require custom reset participants. Transform routes do not avoid obstacles. Navigation routes require com.unity.ai.navigation 2.x and a baked NavMesh. MCP requires exactly com.unity.pipeline 0.8.0-exp.1; its commands are Editor-only and read-only, and the Player includes no controlling server.

Memory files are limited to 4 MiB and must match the schema, definition ID and persistent fact IDs; schedule changes in a game update keep saved memory valid. The reasons journal retains its latest 512 entries.

Documentation

https://merrymaker14.github.io/loopkit/ — the same guides are included in the package as Markdown and local HTML.

A courier leaves before the player can read a note. On the next attempt, the player remembers the code and opens the gate in time. LoopKit provides the clock, character knowledge, timed actions and reset coordination for stories built around discoveries like this.

Create a loop definition, add a clock and connect UnityEvent actions in the Inspector. Knowledge gates show objects when a chosen observer knows a fact. Transform routes place characters at authored moments, including exact poses when time skips. Workbench shows world facts alongside each observer's evidence, source and reason.

Enable permanent memory to retain clues between loops and game launches. A reset cancels old work, waits for it to settle, restores registered participants and verifies their state. RestartAndRun starts the next attempt after a successful reset; RestartLoop resets and stops.

The package includes:

  • An engine-independent C# core and Unity components for Inspector authoring.
  • Game-time or real-time clocks, owner-based pauses, scheduled actions and time skips.
  • Separate world facts and observer knowledge, with persistent evidence and an explainable journal.
  • Validated persistent-memory files with atomic replacement and a previous-file backup.
  • Transform routes and optional Navigation 2.x routes.
  • Workbench, component inspectors, reset reports and four read-only MCP diagnostics through the optional Unity Pipeline adapter.
  • The Last Bell: a complete three-loop mystery with 12 original FBX models, remembered clues, timed characters and four gameplay languages. Its scene, scripts, models and music are included as an editable sample.
  • A second chance: a small English-language example built with Unity primitives.
  • A ready-to-open The Last Bell scene, 12 reusable model prefabs and URP materials for Unity 6000.5.7f1 with URP 17.5.
  • A scene generator for Built-in Render Pipeline, using Standard materials; the generator is also available in URP.
  • Editor UI, guides, API reference and local HTML documentation in English, Russian, Spanish and Simplified Chinese.