Nexus-Mods / Vortex

Vortex Development
GNU General Public License v3.0
912 stars 134 forks source link

Crash: BUTR.NativeAOT.Shared.NativeCallException: Error: System.IO.DirectoryNotFoundException: installPath: E:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord. Modules directory not found! at Bannerlord.LauncherManager.Utils.MainModuleProvid #15878

Closed VortexFeedback closed 4 months ago

VortexFeedback commented 4 months ago

Application Crash

System

Platform win32 10.0.22631
Architecture x64
Application Version 1.11.6
Process renderer

Message

BUTR.NativeAOT.Shared.NativeCallException: Error: System.IO.DirectoryNotFoundException: installPath: E:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord. Modules directory not found! at Bannerlord.LauncherManager.Utils.MainModuleProvider.d4.MoveNext() + 0x1de at Bannerlord.LauncherManager.LauncherManagerHandler.d66.MoveNext() + 0x345 at System.Collections.Generic.List1..ctor(IEnumerable1) + 0xec at System.Linq.Enumerable.ToListTSource + 0x3d at Bannerlord.LauncherManager.LauncherManagerHandler.GetModules() + 0x37 at Bannerlord.LauncherManager.Native.Bindings.GetModules(param_ptr) + 0x8e at NativeLauncherManager.getModules (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:182:33) at VortexLauncherManager.getAllModules (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:2858:38) at getModuleViewModels (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:3106:33) at NativeLauncherManager.sort (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:224:33) at VortexLauncherManager.autoSort (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:2929:31) at Object.action (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:678:25) at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:417:204 at invokeAction (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:811:78) at Object.ba (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:84) at ja (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:238) at ka (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:292) at oa (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:15:72) at lc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:52:170) at jc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:51:255) at mc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:52:334) at sc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:56:10) at BUTR.NativeAOT.Shared.SafeStructMallocHandle1.ValueAsJson[TValue](JsonTypeInfo1, String) + 0xe8 at Bannerlord.LauncherManager.Native.Adapters.LoadOrderStateProvider.GetModuleViewModelsNative() + 0x97 at Bannerlord.LauncherManager.LauncherManagerHandler.Sort() + 0x1a at Bannerlord.LauncherManager.Native.Bindings.Sort(param_ptr) + 0x79

Context

gamemode = Mount & Blade II: Bannerlord (BUTR)

Stack

Error: BUTR.NativeAOT.Shared.NativeCallException: Error: System.IO.DirectoryNotFoundException: installPath: E:\SteamLibrary\steamapps\common\Mount & Blade II Bannerlord. Modules directory not found!
   at Bannerlord.LauncherManager.Utils.MainModuleProvider.<GetModulePaths>d__4.MoveNext() + 0x1de
   at Bannerlord.LauncherManager.LauncherManagerHandler.<ReloadModules>d__66.MoveNext() + 0x345
   at System.Collections.Generic.List`1..ctor(IEnumerable`1) + 0xec
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1) + 0x3d
   at Bannerlord.LauncherManager.LauncherManagerHandler.GetModules() + 0x37
   at Bannerlord.LauncherManager.Native.Bindings.GetModules(param_ptr*) + 0x8e
    at NativeLauncherManager.getModules (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:182:33)
    at VortexLauncherManager.getAllModules (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:2858:38)
    at getModuleViewModels (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:3106:33)
    at NativeLauncherManager.sort (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:224:33)
    at VortexLauncherManager.autoSort (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:2929:31)
    at Object.action (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:678:25)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:417:204
    at invokeAction (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:811:78)
    at Object.ba (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:84)
    at ja (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:238)
    at ka (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:292)
    at oa (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:15:72)
    at lc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:52:170)
    at jc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:51:255)
    at mc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:52:334)
    at sc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:56:10)
   at BUTR.NativeAOT.Shared.SafeStructMallocHandle`1.ValueAsJson[TValue](JsonTypeInfo`1, String) + 0xe8
   at Bannerlord.LauncherManager.Native.Adapters.LoadOrderStateProvider.GetModuleViewModelsNative() + 0x97
   at Bannerlord.LauncherManager.LauncherManagerHandler.Sort() + 0x1a
   at Bannerlord.LauncherManager.Native.Bindings.Sort(param_ptr*) + 0x79
    at NativeLauncherManager.sort (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:224:33)
    at VortexLauncherManager.autoSort (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:2929:31)
    at Object.action (C:\Users\Heraclitos\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Mount and Blade II Bannerlord Vortex Support\index.js:678:25)
    at C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:417:204
    at invokeAction (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\renderer.js:811:78)
    at Object.ba (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:84)
    at ja (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:238)
    at ka (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:14:292)
    at oa (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:15:72)
    at lc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:52:170)
    at jc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:51:255)
    at mc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:52:334)
    at sc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:56:10)
    at Ia (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:287:189)
    at Ma (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:19:57)
    at Rc (C:\Program Files\Black Tree Gaming Ltd\Vortex\resources\app.asar\node_modules\react-dom\cjs\react-dom.production.min.js:70:279)

External file: tmp-14168m2zLm35UDhcv.7z

Reported by: EBAS

IDCs commented 4 months ago

Hi there - re-install the game and ensure your modules folder is present.