BepInEx icon indicating copy to clipboard operation
BepInEx copied to clipboard

V Rising "confine curser to window" option not working after installing BepInEx

Open fitzfuchs opened this issue 3 years ago • 0 comments

What happened?

I tried to use the new curser lock function from the game V Rising. But with BepInEx installed, the option does not work. I tested it with no mods are installed. When I uninstall BepInEx, the new option works. But I can't use mods anymore.

Steps to reproduce

Start the game with a multi monitor setup and BepInEx, the lasted build from thunderstore, installed.

Try the get your curser locked with the confine curser to window option.

Nothing will happen.

BepInEx Distribution

Bleeding Edge from BepisBuilds

Log outputs

[Message: Preloader] BepInEx 6.0.0-be.567 - VRising
[Message: Preloader] BLEEDING EDGE Build #567 from 5d77398a5c3a707ae6de0eb7121d0b8cc5a53b0c at master
[Info   :   BepInEx] System platform: Windows 10 64-bit
[Info   :   BepInEx] Process bitness: 64-bit (x64)
[Info   : Preloader] Running under Unity v2020.3.31
[Message: Preloader] Downloading unity base libraries
[Message: Preloader] Extracting downloaded unity base libraries
[Message: Preloader] Generating Il2CppUnhollower assemblies
[Info   :    Cpp2IL] [Library] Initializing Metadata...
[Info   :    Cpp2IL] [Library] Using actual IL2CPP Metadata version 27,1
[Info   :    Cpp2IL] [Library] Initialized Metadata in 1528ms
[Info   :    Cpp2IL] [Library] Searching Binary for Required Data...
[Info   :    Cpp2IL] [Library] Got Binary codereg: 0x186203E40, metareg: 0x18620EB10 in 1734ms.
[Info   :    Cpp2IL] [Library] Initializing Binary...
[Info   :    Cpp2IL] [Library] Initialized Binary in 2920ms
[Info   :    Cpp2IL] [Library] Mapping pointers to Il2CppMethodDefinitions...
[Info   :    Cpp2IL] [Library] Processed 122139 OK (151ms)
[Info   :    Cpp2IL] [Program] Building assemblies...This may take some time.
[Info   :    Cpp2IL] [Program] Finished Building Assemblies in 3357ms
[Info   :    Cpp2IL] [Program] Fixing up explicit overrides. Any warnings you see here aren't errors - they usually indicate improperly stripped or obfuscated types, but this is not a big deal. This should only take a second...
[Warning:    Cpp2IL] [Program] Failed to resolve base method override in type Unity.Entities.ManagedObjectClone: Type Unity.Properties.Internal.ISetPropertyBagVisitor / Name Visit
[Warning:    Cpp2IL] [Program] Failed to resolve base method override in type Unity.Entities.ManagedObjectEqual: Type Unity.Properties.Internal.ISetPropertyBagVisitor / Name Visit
[Info   :    Cpp2IL] [Program] Fixup complete (2968ms)
[Info   :    Cpp2IL] Total time: 00:00:14.7177902
[Info   : Preloader] Executing Il2CppUnhollower generator
[Info   :Unhollower] Reading assemblies...
[Info   :Unhollower] Done in 00:00:00.0053205
[Info   :Unhollower] Reading system assemblies...
[Info   :Unhollower] Done in 00:00:00.0227594
[Info   :Unhollower] Reading unity assemblies...
[Info   :Unhollower] Done in 00:00:00.0174527
[Info   :Unhollower] Creating rewrite assemblies...
[Info   :Unhollower] Done in 00:00:00.0037618
[Info   :Unhollower] Computing renames...
[Info   :Unhollower] Done in 00:00:00.0374212
[Info   :Unhollower] Creating typedefs...
[Info   :Unhollower] Done in 00:00:00.0755785
[Info   :Unhollower] Computing struct blittability...
[Info   :Unhollower] Done in 00:00:00.0185968
[Info   :Unhollower] Filling typedefs...
[Info   :Unhollower] Done in 00:00:00.0228388
[Info   :Unhollower] Filling generic constraints...
[Info   :Unhollower] Done in 00:00:00.0013292
[Info   :Unhollower] Creating members...
[Info   :Unhollower] Done in 00:00:00.4293322
[Info   :Unhollower] Scanning method cross-references...
[Info   :Unhollower] Done in 00:00:05.1706882
[Info   :Unhollower] Finalizing method declarations...
[Info   :Unhollower] Done in 00:00:00.7848635
[Info   :Unhollower] 1008 total potentially dead methods
[Info   :Unhollower] Filling method parameters...
[Info   :Unhollower] Done in 00:00:00.2572358
[Info   :Unhollower] Creating static constructors...
[Info   :Unhollower] Done in 00:00:00.2954765
[Info   :Unhollower] Creating value type fields...
[Info   :Unhollower] Done in 00:00:00.1721802
[Info   :Unhollower] Creating enums...
[Info   :Unhollower] Done in 00:00:00.0161163
[Info   :Unhollower] Creating IntPtr constructors...
[Info   :Unhollower] Done in 00:00:00.0371571
[Info   :Unhollower] Creating type getters...
[Info   :Unhollower] Done in 00:00:00.0735636
[Info   :Unhollower] Creating non-blittable struct constructors...
[Info   :Unhollower] Done in 00:00:00.0255931
[Info   :Unhollower] Creating generic method static constructors...
[Info   :Unhollower] Done in 00:00:00.0210028
[Info   :Unhollower] Creating field accessors...
[Info   :Unhollower] Done in 00:00:00.9582697
[Info   :Unhollower] Filling methods...
[Info   :Unhollower] Done in 00:00:01.1660066
[Info   :Unhollower] Generating implicit conversions...
[Info   :Unhollower] Done in 00:00:00.0130176
[Info   :Unhollower] Creating properties...
[Info   :Unhollower] Done in 00:00:00.0305722
[Info   :Unhollower] Unstripping types...
[Info   :Unhollower] Done in 00:00:00.0220804
[Info   :Unhollower] Unstripping fields...
[Info   :Unhollower]
[Info   :Unhollower] 443 fields restored
[Info   :Unhollower] 2 fields failed to restore
[Info   :Unhollower] Done in 00:00:00.0070627
[Info   :Unhollower] Unstripping methods...
[Info   :Unhollower]
[Info   :Unhollower] 16388 methods restored
[Info   :Unhollower] 1001 methods failed to restore
[Info   :Unhollower] Done in 00:00:00.3823387
[Info   :Unhollower] Unstripping method bodies...
[Info   :Unhollower]
[Info   :Unhollower] IL unstrip statistics: 7581 successful, 3118 failed
[Info   :Unhollower] Done in 00:00:00.3504878
[Info   :Unhollower] Generating forwarded types...
[Info   :Unhollower] Done in 00:00:00.0018114
[Info   :Unhollower] Writing xref cache...
[Info   :Unhollower] Done in 00:00:00.7211466
[Info   :Unhollower] Writing assemblies...
[Info   :Unhollower] Done in 00:00:01.6636114
[Info   :Unhollower] Writing method pointer map...
[Info   :Unhollower] Done in 00:00:00.0373325
[Info   :Unhollower] Done!
[Info   : Preloader] 0 patcher plugins loaded
[Info   : Preloader] 0 assemblies discovered
[Message:AssemblyPatcher] Executing 0 patch(es)
[Message:   BepInEx] Chainloader initialized
[Info   :Unhollower] Registered mono type UnhollowerRuntimeLib.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[Info   :   BepInEx] 0 plugins to load
[Message:   BepInEx] Chainloader startup complete
[Message:     Unity] Bootstrap - Time: 2022-06-10 16:59:50, Version: VRising v0.5.41821 (2022-06-09 00:48 UTC) (Release)
[Message:     Unity] SLS_COLLECTIONS_CHECKS defined.
[Message:     Unity] System Information:
processorFrequency: 3504
deviceModel: System Product Name (ASUS)
operatingSystem: Windows 11  (10.0.22000) 64bit
processorType: 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz
processorCount: 16
systemMemorySize: 65364
graphicsDeviceName: NVIDIA GeForce RTX 3080
graphicsDeviceType: Direct3D11
graphicsDeviceVendor: NVIDIA
graphicsDeviceVendorID: 4318
graphicsDeviceVersion: Direct3D 11.0 [level 11.1]
graphicsMemorySize: 10078
graphicsMultiThreaded: False
graphicsShaderLevel: 50
maxTextureSize: 16384
CPU Score: 10512 (WOW)

[Message:     Unity] Loaded ClientSettings:
{
  "General": {
    "ServerPath": "VRising_Server/VRisingServer.exe",
    "PlatformNotificationPosition": 2,
    "NewsURL": "https://vrising-client.s3.eu-central-1.amazonaws.com/vrising/live-adcd966f-655a-4dfa-af15-a3069cc6b221/news.json",
    "OfficialServersURL": "https://vrising-client.s3.eu-central-1.amazonaws.com/vrising/live-adcd966f-655a-4dfa-af15-a3069cc6b221/official.txt",
    "BannedServersURL": "https://vrising-client.s3.eu-central-1.amazonaws.com/vrising/live-adcd966f-655a-4dfa-af15-a3069cc6b221/banned.txt",
    "ServerPartnerURL": "https://www.g-portal.com/vrising",
    "ServerInstuctionsURL": "https://github.com/StunlockStudios/vrising-dedicated-server-instructions",
    "BranchOverride": "",
    "EnableConsole": false,
    "ConfineCursorToWindow": true
  },
  "Sound": {
    "Threaded": true,
    "DisableAllSounds": false,
    "DisableMusic": false,
    "MonoSound": false,
    "SoundInBackground": true,
    "UsePushToTalk": true,
    "VOIPAutojoin": false,
    "Driver": "848163af-8e6d-4e9b-960e-eec1acb25962",
    "MasterVolume": 1.0,
    "MusicVolume": 1.0,
    "SoundEffectsVolume": 1.0,
    "AmbienceVolume": 1.0,
    "VoiceOverVolume": 1.0,
    "UIVolume": 1.0,
    "VOIPVolume": 0.66
  },
  "Interface": {
    "Language": "German",
    "SteamerMode": true,
    "ShowGlobalChat": true,
    "ShowChatTimeStamps": true,
    "LockMinimapRotation": true,
    "BuildMenuFadeOut": false,
    "ShowMenuShortcuts": true,
    "ChatSize": 16.7960472,
    "SteamRichPresenceEnabled": true,
    "SkipIntroCinematic": true,
    "ToggleEquipMode": true,
    "AllowFriendsToJoinThroughSteam": true
  },
  "GameClient": {
    "UserName": "",
    "SavedCharacterName": "",
    "RecordClientReplay": false,
    "PlayLatestClientReplay": false,
    "EnableGameAnalytics": true,
    "AnalyticsEnvironment": "production",
    "CompletedTutorials": 7423,
    "MaximumHandshakeAttempts": 10,
    "ConnectionTimeout": 30.0,
    "BetaInformationURL": null,
    "ServerListURL": "",
    "HasSeenCinematic": true,
    "HasCompletedFirstStartup": true,
    "EnableDebugLogsOverlayByDefault": false,
    "ServerName": "VRising Server",
    "DiscoverLocalPeers": false,
    "HideWrongVersion": true,
    "HideFullServers": false,
    "NetworkVersionOverride": -1
  },
  "GraphicSettings": {
    "Resolution": {
      "x": 1920,
      "y": 1080
    },
    "FPSLimitValue": 144,
    "DynamicResolutionQuality": 0.77,
    "ScreenShakeAmplitude": 1.0,
    "Brightness": 2.2,
    "FsrSharpness": 1.0,
    "FsrQualityMode": 1,
    "ClothUpdateRate": 0,
    "ClothQuality": 0,
    "AntiAliasing": 2,
    "ShadowQuality": 0,
    "AmbientOcclusionQuality": 0,
    "BloomQuality": 0,
    "VolumetricsQuality": 0,
    "TextureQuality": 0,
    "WindowMode": 0,
    "CurrentPresetMode": 3,
    "VerticalSync": false,
    "ShouldLimitFPS": true,
    "MotionBlur": true,
    "DepthOfField": true,
    "HighQualityVegetation": true,
    "HighQualityAtmosphere": true,
    "BloodEffectsEnabled": true
  }
}
[Message:     Unity] Bootstrapping World: Default World
[Warning:     Unity] ProjectM.ClientDebugSettings - Error while trying to load settings from file. File not Found! (C:/Spiele/Steam/steamapps/common/VRising/VRising_Data/StreamingAssets\Settings\ClientDebugSettings.json)
[Message:     Unity] SteamPlatformSystem - Entering OnCreate!
Setting breakpad minidump AppID = 1604030
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  xxxxxxxxxxxxxx [API loaded no]
[Message:     Unity] SteamPlatformSystem - Steamworks API initialization Succeeded!
[Message:     Unity] SteamLog [SDR k_ESteamNetworkingSocketsDebugOutputType_Msg] Certificate expires in 46h37m at 1655048221 (current time 1654880388), will renew in 44h37m
[Message:     Unity] SteamPlatformSystem - Steam Info - AppID: 1604030, UserID: xxxxxxxxxxxxxxxx, PersonaName: FitzFuchs, AppOwner: xxxxxxxxxxxxxxxxxxxx
[Message:     Unity] SteamPlatformSystem - Enabling Steam FilterText, Success: True
[Message:     Unity] Entering UIEntryPoint!
[Message:     Unity] CommandLine: C:\Spiele\Steam\steamapps\common\VRising\VRising.exe

C:\Spiele\Steam\steamapps\common\VRising\VRising.exe
[Message:     Unity] This is a LIVE build! (debug ourput)
[Message:     Unity] Loaded Localization: German
[Warning:     Unity] ProjectM.GameDataSettings - Error while trying to load settings from file. File not Found! (C:/Spiele/Steam/steamapps/common/VRising/VRising_Data/StreamingAssets\Settings\GameDataSettings.json)
[Message:     Unity] Load SubScene UI Scene
[Message:     Unity] [Default World] LoadSceneAsync Request 'SubScene_UI', WaitForSceneLoad: True, SceneEntity: 4:1
[Message:     Unity] Loaded Official Servers List: 1042
[Message:     Unity] Loaded Banned Servers List: 1
Streamed scene with 2117ms latency from C:/Spiele/Steam/steamapps/common/VRising/VRising_Data/StreamingAssets/SubScenes/d0e99519c61b70148bdae265f9744e72.0.entities
[Message:     Unity] [Default World] LoadSceneSystem.WaitForTargetSceneLoad - SceneEntity 4:1 done!
[Message:     Unity] Type:MainMenuCanvasBase
[Message:     Unity] Instantiating Loaded UI Prefab. GameObject: MainMenuCanvas
[Message:     Unity] DestroyInitialLoadUI - Looking for GameObjects with tag: InitialLoadUI)
[Message:     Unity] DestroyInitialLoadUI - Destroying: InitialLoad
[Message:     Unity] [Default World] Found UICanvasBase, creating UICanvasSingleton.
[Message:     Unity] StunAnalytics.Initialize called. Enabled: True
[Message:     Unity] Steam Launch CommandLine:

Environment

- OS: Windows 11 - Version 21H2
- BepInEx: BepInEx 6.0.0-be.567
- Game: VRising v0.5.41821 (2022-06-09 00:48 UTC) (Release)

fitzfuchs avatar Jun 10 '22 17:06 fitzfuchs