SanctuaryDB
Modding reference · PlayerPrefsGame 0.0.1.11
Community research snapshotInspected 1 September 2026
On this page

Reference

PlayerPrefs and registry settings

Unity stores the observed Windows PlayerPrefs values under the current user. Treat them as serialized preferences for this build, not as a stable configuration API.

Observed registry location

HKEY_CURRENT_USER\Software\Enhearten Media PTY\Sanctuary

Confirmed keys

settings.uiScaling

Overrides the JSON UI scale during startup; SaveUIScaling writes the same key.

client.hostIpaddress
Stores the client host address.
client.hostPort
Stores the client host port.
host.listenPort
Stores the host listen port.
SelectedMapPath
Stores the selected map path.

Test procedure

  1. Export the Sanctuary registry key.
  2. Change one value and record its original type and data.
  3. Restart the game and check the visible result.
  4. Restore the exported key if the result is wrong.

Do not assume that an unexplained value is safe or still used by the current build.