LCVR 1.2.3

Lethal Company VR Mod

Thunderstore Version GitHub Version Thunderstore Downloads GitHub Downloads
Release Build Debug Build

LCVR is a BepInEx mod that adds full 6DOF VR support into Lethal Company, including hand movement and motion-based controls.

The mod is powered by Unity's OpenXR plugin and is thereby compatible with a wide range of headsets, controllers and runtimes, like Oculus, Virtual Desktop, SteamVR and many more!

LCVR is compatible with multiplayer and works seamlessly with VR players and non-VR players in the same lobby. Running this mod without having a VR headset will allow you to see the arm and head movements of any VR players in the same lobby, all while still being compatible with vanilla clients (even if the host is using no mods at all).

Discord Server

Facing issues, have some mod (in)compatibility to report or just want to hang out?

You can join the LCVR Discord Server!

Compatibility

Due to the amount of changes LCVR makes to the game and gameplay features, some mods might not be compatible with LCVR. For a list of compatible mods, you can refer to the compatibility sheet here. A small handful of mods have been made fully compatible with LCVR, either by custom code inside LCVR, or (preferably) changes within those mods to work properly with the VR mod.

Installing and using the mod

It is recommended to use a mod launcher like r2modman to easily download and install the mod. You can download r2modman here. This mod can be found on thunderstore under the name LethalCompanyVR. You can also install the mod by manually downloading it in combination with BepInEx.

Running the mod using r2modman can be done simply by clicking "Launch Modded", which will automagically launch the game with the installed mods.

For more documentation on using the mod, check out the LethalCompanyVR Thunderstore page

For developers

If you want to make your mod compatible with LCVR, make sure to check out the API documentation. While at the time of writing it doesn't contain much, this might be expanded more in the future.

Also make sure you know how to use BepInEx Dependencies and assembly referencing properly to make sure that your mod keeps working even when LCVR is not installed (unless your mod requires LCVR to work).

Install from source

The easiest way to install the mod is by downloading it from Thunderstore. You only need to follow these steps if you are planning on installing the mod by building the source code and without a mod manager.

To install the mod from the source code, you will first have to compile the mod. Instructions for this are available in COMPILING.md.

Next up you'll need to grab a copy of some Runtime Dependencies. You can either grab these from one of the releases, or if you truly want the no hand holding experience, you can retrieve them from a Unity project.

Retrieving Runtime Dependencies from a Unity Project

You can skip this part if you have taken the runtime dependencies from the releases page.

First of all start by installing Unity 2022.3.9f1, which is the Unity version that Lethal Company uses. Once you have installed the editor, create a new Unity project. If you are planning on adding prefabs to the mod, use the HDRP template and add the XR modules via the HDRP helper or by manually installing the Unity OpenXR plugins (Google is your friend). Otherwise you can just use the VR template.

Make sure you set the scripting backend to Mono, and not to Il2Cpp (Unity will warn you when you try to compile a VR game with Il2Cpp enabled). You can now build your dummy game. Once the game is built you can navigate to it's <Project Name>_Data/Managed directory. There you will need to extract the following files:

  • UnityEngine.SpatialTracking.dll
  • Unity.XR.CoreUtils.dll
  • Unity.XR.Interaction.Toolkit.dll
  • Unity.XR.Management.dll
  • Unity.XR.OpenXR.dll

And from the <Project Name>_Data/Plugins/x86_64 directory:

  • openxr_loader.dll
  • UnityOpenXR.dll

Install BepInEx

BepInEx is the modloader that LCVR uses to mod the game. You can download BepInEx from their GitHub Releases (LCVR currently targets BepInEx 5.4.22).

To install BepInEx, you can follow their Installation Gude.

Installing the mod

Once BepInEx has been installed and run at least once, you can start installing the mod.

First of all, in the BepInEx/plugins folder, create a new folder called LCVR (doesn't have to be named that specifically, but makes identification easier). Inside this folder, place the LCVR.dll file that was generated during the COMPILING.md steps.

After this has been completed, create a new directory called RuntimeDeps (has to be named exactly that) inside of the LCVR folder. Inside this folder you will need to put the DLLs that you have retrieved during the Retrieving Runtime Depenencies step. You can now run the game with LCVR installed.

No packages depend on LCVR.

Version Downloads Last updated
1.3.6 5 10/31/2024
1.3.5 3 10/26/2024
1.3.4 10 09/29/2024
1.3.3 3 09/15/2024
1.3.2 1 09/15/2024
1.3.1 4 08/25/2024
1.3.0 8 08/10/2024
1.2.5 47 06/12/2024
1.2.4 3 06/01/2024
1.2.3 4 05/12/2024
1.2.2 4 04/17/2024
1.2.1 4 04/13/2024
1.2.0 4 03/20/2024