A. Unity Setup

Updated a month ago

Project Patcher

The current version of the game is v73, so you need to setup a 2022.3.62f2 UnityProject and patch that project with the latest rip of lethal company, this is done by following the patching steps in here:

https://github.com/Zaggy1024/unity-project-patcher.git#lc-v73-fixes

https://github.com/Zaggy1024/unity-lc-project-patcher.git#v73-fixes

  • After downloading, restart unity as some UI might not immediately show up.
  • From there there should be a new menu at the top called tools, hover over it and then hover over Unity Project Patcher and click "Open Window", then press "Install BepInEx" on the button at the bottom.
  • Finally, go to steam, right click "Lethal Company" and press "Browse local files", this is so we can get the file path to the game which the patcher needs.
  • Copy and paste the path to Lethal Company and inside the Assets folder in unity should be an asset created by the patcher called UPPatcherUserSettings, paste the path into its first field.
  • Go back to the window we had earlier where you installed BepInEx and press Start Patching.
  • From there, the editor will restart about 7 to 10 times on its own, but will occasionally ask you some questions, you just need to press yes to but do make sure you read and acknowledge what you're doing.
  • Congratulations, you now have a patched V73 Lethal Company project.

Setup

The github page for releases includes the mod's package zip and the Editor.dll, you simply need those two, PathfindingLib.dll and MonkeyInjectionLibrary.dll to load the mod into the UnityEditor. When initially importing, the dawnlib.teamxiaolan.compatiblity.dll file will not get auto deleted, you will need to delete it (but everytime you try to import it afterwards the editor dll will delete it automatically). You will also need to turn off validate references in the DawnLib and Dusk dlls (those two only). Alternatively, you could import the UnityPackage found on the same releases page onto your project and get an already done structure setup.