LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.48k stars 479 forks source link

[Bug]: Demeo PC VR doesn't work since this morning's patch #402

Closed TheGrayAlien closed 1 year ago

TheGrayAlien commented 1 year ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

This morning's Demeo patch changed a variable that MelonLoader uses to check if the game is running on PC or VR. This breaks the game entirely for PC VR users when using MelonLoader by leaving players at a black screen forever after the initial "Resolution" logo (even with no mods loaded) but somehow still allows PC-Edition users to play the game and even run mods.

The variable Demeo changed was MotherbrainGlobalVars.IsRunningOnDesktop which is now MotherbrainGlobalVars.IsRunningOnNonVRPlatform instead.

The issue is located in the Module.cs in the \Dependencies\CompatibilityLayers\Demeo folder and the related decompilation. Should be a quick and easy fix.

Did you attach your log file?

rakosi2 commented 1 year ago

MelonLoader does not check for PC/VR. That is up to the mods, Please check with the mod authors for support