Hindsight – Rewind Debugger


Hindsight records your scene while you play. ... No component to add, no code to write. What you can do: ... The demo scene shows it on a ball that tunnels through the floor.


by Nekuzaky


Price History +

Rewind debugger for the Unity Editor. Pause, drag the timeline back and see every object as it was, with errors, velocities and your own variables. No setup, no cost in release builds.
  • Unity 6000.3 or newer. Built-in, URP and HDRP
  • Depends on Burst and Mathematics (installed automatically)
  • Full C# source code, assembly definitions, namespace Nekuzaky.Hindsight
  • Editor and development builds only; release builds keep a small assembly whose calls are compiled out
  • Player scripts verified on Windows, macOS, Linux, Android, iOS and WebGL
  • While rewinding, only Transforms move back; ECS entities are not recorded
  • 88 automated tests
  • Offline documentation in the Documentation folder
  • Third-party: Bootstrap Icons (MIT)

Hindsight records your scene while you play. When something goes wrong, pause and drag the timeline back: every object is where it was at that frame, in the Scene and Game views. No component to add, no code to write.

What you can do:

  • Click an error on the timeline to jump to the frame it was logged, then select the object to read its velocity
  • Type y < -5 or Health <= 0 and jump to the frame where it first became true
  • Record your own fields with [HindsightTrack] and see them on a graph over the whole recording
  • Draw debug lines, boxes and text from code and see them at the frame you rewind to
  • Save the recording to a .hindsight file and open it later, or send it with a bug report
  • Record a development build on a test device and open its recording in the editor

Performance: 0.01 to 0.05 ms of main-thread time per frame for 10,000 objects, using Burst jobs, with no garbage once warmed up. Nothing runs in release builds: the recorder is only compiled in the editor and in development builds, and every call to the API is removed from release code.

The demo scene shows it on a ball that tunnels through the floor.