Skip to content

Troubleshooting: The Doctor

Andrew Bradley edited this page Feb 18, 2024 · 1 revision

Troubleshooting

The Doctor

MapStation includes a tool to scan your map for potential problems.

⚠️NOTE: the Doctor cannot find all problems. Future updates to MapStation may improve the Doctor's scanning.

In MapStation.Editor, access the Doctor from the "BRC MapStation" menu:

image

Click "Analyze" to scan the currently opened map.

image

The Doctor reports two types of problems:

Errors these are likely to crash the game
Warnings these are less fatal and might not crash, but they should usually be fixed

In the example above, the Doctor has found 2 warnings and 1 error. The error, a missing Sun, will crash the game if you try to load this map. It is necessary to add a Sun. After fixing a problem, you can click "Analyze" again to confirm it is fixed.

The Doctor in-game

The Doctor is also available in-game.

⚠️NOTE: An in-game Doctor scan may produce slightly different results than the editor, because some problems can only be detected in-game or in-editor.

In-game Doctor is accessed from our Debug UI. If necessary, press F6 to disable keyboard and mouse controls and show your mouse cursor. Click "Map Doctor," then "Analyze."

image

In this example, we have fixed the missing Sun and Graffiti UID problems identified by the Doctor in-editor, but we still have a broken teleporter.

image

If you also have the Unity Explorer mod installed, you will see a button to open the offending object in Unity Explorer.

image