UnityExplorer/README.md
2020-08-08 03:19:00 +10:00

1.9 KiB

CppExplorer

Version

Universal Runtime Inspector/Explorer for Unity IL2CPP games.

Features

  • Scene exploration (traverse in the same way as the Unity Editor)
  • Inspect GameObjects/Transforms and manipulate them
  • Inspect any object with Reflection, set primitive values, etc
  • REPL Console for executing on-the-fly code

Known Issues / Todo

  • Fix List and Array support, need to use IL2CPPSystem types.
  • Add mouse lock and prevent click-through

How to install

This requires MelonLoader to be installed for your game.

  1. Download CppExplorer.zip from Releases.
  2. Put the file in your MyGame\Mods\ folder, and unzip with "Extract here" option.
  3. It should not go into a sub-folder, you should see CppExplorer.dll and mcs.dll in your Mods\ folder.

How to use

  • Press F7 to show or hide the menu.
  • Simply browse through the scene, search for objects, etc, it's pretty self-explanatory.

If you have any specific questions about it you can contact me here, on NexusMods (Sinaioutlander), or on Discord (Sinai#4637, in MelonLoader discord).

Images

Scene explorer, and inspection of a MonoBehaviour object:

Search feature:

REPL console:

Credits

Written by Sinai.

Credits to ManlyMarco for his Runtime Unity Editor, which I used for the REPL Console and the "Find instances" snippet, and used the same MCS that he uses*.

* note: I commented out the SkipVisibilityExt constructor in mcs.dll since it was causing an exception with the Hook it attempted.