Mods Not Working.

when i open the game using mods a unity windows pops up with an Error than instantly crashes. I tested to see which of the mods is causing this but it turned out it's BepInEx itself. What do i do?
11:13 am, April 13, 2023
Mehdi_Assist 0 comments 0 likes

Mehdi_Assist replied to Mods Not Working. April 9, 2023 @ 10:02:22 am PDT

Originally posted by L1m3r:
Have you really updated BepInEx[valheim.thunderstore.io] to its latest version "5.4.2102"?
Have you verified this in the logs?
%USERPROFILE%\AppData\LocalLow\IronGate\Valheim\Player.log %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\Player-prev.log %USERPROFILE%\AppData\Local\Temp\IronGate\Valheim\Crashes\Crash_*\*.log (<- only if VH crashed) ...\Steam\SteamApps\common\Valheim\BepInEx\LogOutput.log (<- if applicable)

There can be a problem if you keep using your old BepInEx config.
thanks dude now i know where the problem was. bepinex didn't release an update for the new patch so it crashes.
11:13 am, April 13, 2023
0 comments 0 likes

L1m3r replied to Mods Not Working. April 9, 2023 @ 5:35:26 pm PDT

Originally posted by Mehdi_Assist:
thanks dude now i know where the problem was. bepinex didn't release an update for the new patch so it crashes.
What? Even BepInEx "5.4.2101" works perfectly fine with the latest patch level "0.214.300 [but cooler]" (=v0.214.305).
If you're using the latest beta-version/patch that's on you...
11:13 am, April 13, 2023
0 comments 0 likes

Mehdi_Assist replied to Mods Not Working. April 10, 2023 @ 2:34:33 am PDT

Originally posted by L1m3r:
Originally posted by Mehdi_Assist:
thanks dude now i know where the problem was. bepinex didn't release an update for the new patch so it crashes.
What? Even BepInEx "5.4.2101" works perfectly fine with the latest patch level "0.214.300 [but cooler]" (=v0.214.305).
If you're using the latest beta-version/patch that's on you...
no it's just the normal version.
11:13 am, April 13, 2023
0 comments 0 likes

FissionChips replied to Mods Not Working. April 4, 2023 @ 2:44:14 am PDT

Update it.
11:13 am, April 13, 2023
0 comments 0 likes

Wafflesaurus Supreme replied to Mods Not Working. April 4, 2023 @ 5:30:29 am PDT

Unzip the files from the latest BepinEx package and overwrite them all in your Valheim folder.
11:13 am, April 13, 2023
0 comments 0 likes

Mehdi_Assist replied to Mods Not Working. April 4, 2023 @ 10:35:14 am PDT

Originally posted by Wafflesaurus Supreme:
Unzip the files from the latest BepinEx package and overwrite them all in your Valheim folder.
i do that everytime i update the mods. didn't work
11:13 am, April 13, 2023
0 comments 0 likes

Mehdi_Assist replied to Mods Not Working. April 4, 2023 @ 10:35:31 am PDT

Originally posted by FissionChips:
Update it.
it's updated.
11:13 am, April 13, 2023
0 comments 0 likes

burn replied to Mods Not Working. April 4, 2023 @ 12:40:19 pm PDT

start completely fresh. uninstall valheim, DELETE the old install folder and all folders still left over from the uninstall.

reinstall valheim. run vanilla once. quit out. install the latest bepinex, and attempt to run the game with ONLY bepinex installed and see if you still get the error.
11:13 am, April 13, 2023
0 comments 0 likes

Mehdi_Assist replied to Mods Not Working. April 4, 2023 @ 1:38:09 pm PDT

Originally posted by burn:
start completely fresh. uninstall valheim, DELETE the old install folder and all folders still left over from the uninstall.

reinstall valheim. run vanilla once. quit out. install the latest bepinex, and attempt to run the game with ONLY bepinex installed and see if you still get the error.
will do thanks.
11:13 am, April 13, 2023
0 comments 0 likes

Mehdi_Assist replied to Mods Not Working. April 6, 2023 @ 11:56:11 pm PDT

it appeared that im not alone in this. many others have the same problem. it says:
[Fatal : Bepinex] Could not run preloader
Error Code is 0x000f7
11:13 am, April 13, 2023
0 comments 0 likes

pipo.p replied to Mods Not Working. April 7, 2023 @ 12:10:02 pm PDT

Originally posted by Mehdi_Assist:
will do thanks.
If you are going for a fresh install, I'd advise you not to install BepInEx in Valheim folder, but in a dedicated folder you can create in AppData. It is explained in one BepInEx installation section (the drawback being tp add a path as a launching parameter).

That way, it will be simpler to correctly update BepInEx without corrupting the game (hence to be sure that BepInEx is not the cause of the crash),

For now, BepInEx still works fine on linux, but tbh, I don't have any complex mods that may turn obsolete if the game makes changes to the UI or the way content is accessed.
11:13 am, April 13, 2023
0 comments 0 likes

Mehdi_Assist replied to Mods Not Working. April 8, 2023 @ 10:57:38 am PDT

Originally posted by pipo.p:
Originally posted by Mehdi_Assist:
will do thanks.
If you are going for a fresh install, I'd advise you not to install BepInEx in Valheim folder, but in a dedicated folder you can create in AppData. It is explained in one BepInEx installation section (the drawback being tp add a path as a launching parameter).

That way, it will be simpler to correctly update BepInEx without corrupting the game (hence to be sure that BepInEx is not the cause of the crash),

For now, BepInEx still works fine on linux, but tbh, I don't have any complex mods that may turn obsolete if the game makes changes to the UI or the way content is accessed.
i know, i did that too but i gotta say that bepinex is the cause of the crash. even without any mods, launching the game and bepinex separately using thunderstore it still crashes.
11:13 am, April 13, 2023
0 comments 0 likes

pipo.p replied to Mods Not Working. April 9, 2023 @ 2:08:48 am PDT

Well, what does your Player.log file tell when you try to launch the game with BepInEx and no mod?
11:13 am, April 13, 2023
0 comments 0 likes

Mehdi_Assist replied to Mods Not Working. April 9, 2023 @ 9:22:35 am PDT

Originally posted by pipo.p:
Well, what does your Player.log file tell when you try to launch the game with BepInEx and no mod?
it does recognize it on launch but it doesn't appear in the crash log.
11:13 am, April 13, 2023
0 comments 0 likes

L1m3r replied to Mods Not Working. April 9, 2023 @ 9:48:52 am PDT

Have you really updated BepInEx[valheim.thunderstore.io] to its latest version "5.4.2102"?
Have you verified this in the logs?
%USERPROFILE%\AppData\LocalLow\IronGate\Valheim\Player.log %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\Player-prev.log %USERPROFILE%\AppData\Local\Temp\IronGate\Valheim\Crashes\Crash_*\*.log (<- only if VH crashed) ...\Steam\SteamApps\common\Valheim\BepInEx\LogOutput.log (<- if applicable)

There can be a problem if you keep using your old BepInEx config.

Does the game crash when you disable BepInEx?
11:13 am, April 13, 2023
0 comments 0 likes