A mod to consolidate helpers, builders, etc
- Install Visual Studio 2019
- Ensure the SolastaInstallDir environment variable is configured to point to your Solasta_COTM install directory.
- Use "InstallDebug" to have it installed directly to your Mods folder
- Download and instal Unity Mod Manager
- Execute Unity Mod Manager, Select Solasta, and Install
- Select Mods tab, drag and drop from releases
- Open Solasta game folder
- Rename Solasta.exe to Solasta.exe.original
- Rename UnityPlayer.dll to UnityPlayer.dll.original
- Add below entries to Solasta_Data\boot.config:
wait-for-managed-debugger=1
player-connection-debug=1
- Download and install 7zip
- Download Unity Editor 2019.4.19
- Open Downloads folder
- Right-click UnitySetup64-2019.4.1f1.exe, 7Zip -> Extract Here
- Navigate to Editor\Data\PlaybackEngines\windowsstandalonesupport\Variations\win64_development_mono
- Copy UnityPlayer.dll and WinPixEventRuntime.dll to Solasta game folder
- Navigate to Solasta game folder
- Rename UnityPlayer.dll to UnityPlayer.dll.original
- Paste UnityPlayer.dll and WinPixEventRuntime.dll from previous step
You can now attach the Unity Debugger from Visual Studio 2019, Debug -> Attach Unity Debug