Skip to main content

Debug PlayerPrefs

Luna Replay provides a debugging feature to help you identify what may be causing your PlayerPrefs to change between capture and replay.

Debug PlayerPrefs mode

The Capture and Replay UIs contain a checkbox to debug PlayerPrefs, depending on which mode you are currently in.


When enabled, each call to PlayerPrefs will be be printed to the Unity console, along with a full stack trace to help you identify where it is being called.

Building a Linux build whilst Debug PlayerPrefs is enabled in Replay mode, will print all PlayerPref logs to the logfile, available in Luna Create Hub (more info here).

With the full stack traces for your capture and replay, it will be possible to identify where the discrepancies occur, and isolate the issue.