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.
- Capture mode
- Replay mode
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.
With the full stack traces for your capture and replay, it will be possible to identify where the discrepancies occur, and isolate the issue.