Acetoolguy Posted January 30, 2024 Posted January 30, 2024 This the first line in a wall of red text I get when trying to launch the game. From Bepinex. Game will load and run fine, just without any mods. What is it trying to tell me, and anybody have a fix for a low skill user? Thanks for looking.
tholwin Posted January 31, 2024 Posted January 31, 2024 (edited) Do you have the latest version of Bepinex (5.4.22.0) ? Here are the first lines from mine: [Message: BepInEx] BepInEx 5.4.22.0 - valheim (1/10/2024 12:32:25 PM) [Message: BepInEx] User is running BepInExPack Valheim version 5.4.2202 from Thunderstore [Info : BepInEx] Running under Unity v2022.3.12.5236448 [Info : BepInEx] CLR runtime version: 4.0.30319.42000 [Info : BepInEx] Supports SRE: True [Info : BepInEx] System platform: Bits64, Windows [Message: BepInEx] Preloader started [Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.22.0] Edited January 31, 2024 by tholwin
Acetoolguy Posted February 2, 2024 Author Posted February 2, 2024 I do, Tried it in thunderstore, launched w/o the red text but mods still wont load.
tholwin Posted February 2, 2024 Posted February 2, 2024 Maybe the mods are outdated. Does it work if you try only mods recently updated (2024) ?
Acetoolguy Posted February 2, 2024 Author Posted February 2, 2024 On the tool bar in Vortex I saw a button to update Bepinex that I had not noticed before. I was running 5.4.2202 already but after the I updated it ran as it was supposed to. Simple fix, that I just missed.
Dragonboom26 Posted April 26, 2024 Posted April 26, 2024 (edited) Sorry for bumping this thread but I'm having similar issue with BepInEx's preloader whenever I run Valheim, and those red codes I'm having encounter, even when I disabled it and it's still occurred and I have no idea how to fix it. Quote [Message: BepInEx] BepInEx 5.4.22.0 - valheim (2024-04-26 6:21:37 PM) [Info : BepInEx] Running under Unity v2022.3.17.5228416 [Info : BepInEx] CLR runtime version: 4.0.30319.42000 [Info : BepInEx] Supports SRE: True [Info : BepInEx] System platform: Bits64, Windows [Message: BepInEx] Preloader started [Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.22.0] [Info : BepInEx] Loaded 1 patcher method from [SlimVML.Loader 1.1.0.0] [Info : BepInEx] 2 patcher plugins loaded [Fatal : BepInEx] Could not run preloader! [Fatal : BepInEx] System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\SteamLibrary\steamapps\common\Valheim\unstripped_corlib'. at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x0004d] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00050] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00007] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at BepInEx.Utility.GetUniqueFilesInDirectories (System.Collections.Generic.IEnumerable`1[T] directories, System.String pattern) [0x0001a] in <5e471ddbeb974684bff43bc61f1b58cb>:0 at BepInEx.Preloader.Patching.AssemblyPatcher.PatchAndLoad (System.String[] directories) [0x00011] in <a7e3be82e3634ca29e921a65272c4875>:0 at BepInEx.Preloader.Preloader.Run () [0x00216] in <a7e3be82e3634ca29e921a65272c4875>:0 System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\SteamLibrary\steamapps\common\Valheim\unstripped_corlib'. at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x0004d] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00050] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x0003c] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00007] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 at BepInEx.Utility.GetUniqueFilesInDirectories (System.Collections.Generic.IEnumerable`1[T] directories, System.String pattern) [0x0001a] in <5e471ddbeb974684bff43bc61f1b58cb>:0 at BepInEx.Preloader.Patching.AssemblyPatcher.PatchAndLoad (System.String[] directories) [0x00011] in <a7e3be82e3634ca29e921a65272c4875>:0 at BepInEx.Preloader.Preloader.Run () [0x00216] in <a7e3be82e3634ca29e921a65272c4875>:0 Expand UPDATE: I've discovered how to fix it by creating a folder with label "unstripped_corlib" in Valheim's directory, and it will be fixed by itself. Edited April 27, 2024 by Dragonboom26 1
Recommended Posts