ValheimPlus
ValheimPlus copied to clipboard
[BUG] After the latest Valheim update, Valheim Plus fails to complete loading
- OS: [Windows Client, Windows Server, or Linux Server]
- Valheim Game Version: [0.214.2]
- V+ Mod Version: [0.9.9.11]
Describe the bug
After the latest Valheim update, Mar 13 23, Valheim Plus fails to complete loading.
To Reproduce
Steps for the devs to reproduce the behavior:
- Start Valheim
- Look at the terminal window and see the dump from the failure.
- In game, Valheim Plus settings have no effect. Can not portal with ore, missing extra row in inventory, etc
- See error
Expected behavior
Valheim Plus should load and run successfully.
Troubleshooting
Output from term window:
[Warning: HarmonyX] AccessTools.DeclaredMethod: Could not find method for type Chat and name OnNewChatMessage and parameters (UnityEngine.GameObject, long, UnityEngine.Vector3, Talker+Type, string, string, string)
[Error : Unity Log] ArgumentException: Undefined target method for patch method static bool ValheimPlus.GameClasses.Chat_AddInworldText_Patch::Prefix(Chat& __instance, UnityEngine.GameObject go, long senderID, UnityEngine.Vector3 pos, Talker+Type type, string user, string text, string senderNetworkUserId)
Stack trace:
HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
Rethrow as HarmonyException: Patching exception in method null
HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.PatchClassProcessor.Patch () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.<PatchAll>b__11_0 (System.Type type) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action
1[T] action) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
HarmonyLib.Harmony.PatchAll () (at <474744d65d8e460fa08cd5fd82b5d65f>:0)
ValheimPlus.ValheimPlusPlugin.Awake () (at <7c2de1882abc413da7273413f1d1b902>:0)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.InputSystem.InputSystem:.cctor()
Confirming. I see same behaviors both on linux server and windows local games.
Confirmed for me too
Confirmed
Same here
Confirmed
same in linux server and windows valheim plus is not working, some items from chests with augmented size are lost.
Confirmed
Confirmed
Can also confirm. Updated to latest for client and server. changes made to server side config file seem to be erratically enforced (weight limit not enforced, increased player inventory not enforced, but storage chest size is enforced)
Confirm, Also installed latest BepInExPack (5.4.2100) but still not working.
Found Temporary fix (in any case for local games) in Valheim Discord channel:
Steam>Library>Right click on Valheim and select Properties.
Same for me. Tried switching to vanilla, then reloading Plus. Same results....
Same bug for me...
Server running on Linux Clients connecting to the server on Windows Same bug as described above from other users.
Same bug for me...
Read me
If you're coming here to say "me too" without new logs, react to this message and spare the original poster some notifications.
Chances are the mod is broken for everyone, considering the recent game patch.
The latest commit from the team dates from December 2022. It might take them some time to readjust everything that changed with the patch.
Is there a temporary workaround?
Yes. If you are on Steam, right-click on Valheim in your library, go to Properties > Beta
and select default_old - Previous stable
to play without the most recent patch.
What if I don't do this?
Then you risk losing inventory items, chest contents or potentially having some of your builds destroyed when loading into your game with the latest patch on, since the mod is not functional on latest patch yet.
If you host a Valheim Dedicated Server
, do the same thing for the server app in your library.
What to do if you rent a server on X website
Contact the support there.
Reminder
Take backups of your character and of the world's often.
They are located in %appdata%\..\LocalLow\IronGate\Valheim
We rent a GPortal server. Set the server branch to "Default_old" in the branch selection, rebooted it. in steam set the beta branch to "Default_old" let it update. Client says valheim plus on the main screen
But on connecting our inventory tweaks are not showing on the server, stack sizes and slots are default. The work around isnt...well..working around for us.
@mrgreaper I got it to work yesterday. You prob lost your configurations in the settings for the mod. if you have those settings backups, copy and paste those backup settings.
remember, if you have login in, and the inventory shrinks, you lost your items. You have to copy your backup save files to the server using the FTP connection
- with mod settings being set
- with your backup save files
you should able to get it to work again. good luck
If you host a
Valheim Dedicated Server
, do the same thing for the server app in your library.
For anyone that comes across this and wonders how to do that on a Linux server, no GUI:
steamcmd +force_install_dir /path/to/install +login anonymous +app_update 896660 -beta default_old -exit
I use LGSM + vhserver, so my install directory was /home/<user>/serverfiles
Valheim Plus is not getting updated. You need to get Valheim Plux Fixed. Works great, no issues.
Valheim Plus is not getting updated. You need to get Valheim Plux Fixed. Works great, no issues.
Not here. I've installed it on both client and server. Never completes. G-Portal server. The version checks match perfectly, but it never finishes the connection. So I'm stuck on a "Connecting" screen with no Bepinex errors showing, it just hangs.
@bytorphoto can you create a new issue (or go to the discord) for your issue specifically? Add logs, versions and etc.
I've installed Grantapher's fork of Valheim Plus with the latest Valheim. I had to add new versions of both BepInEx
and Valeheim Plus
on both client and server, but now that I've done that it works great.
I have the same issue. I am using thunderstore to load my mods, I have tried the "default_old" settings but it didn't help. I am playing on 0.214.300, and valheim plus 0.9.9.11 ( that's what the in game mentions at least). This is my first time modding this game, so I may be missing something very obvious. Thunderscore says I'm playing with BepInExPack_Valheim 5.4.2105, and Official_BepInEx_ConfigurationManager 18.0.0
I have the same issue. I am using thunderstore to load my mods, I have tried the "default_old" settings but it didn't help. I am playing on 0.214.300, and valheim plus 0.9.9.11 ( that's what the in game mentions at least). This is my first time modding this game, so I may be missing something very obvious. Thunderscore says I'm playing with BepInExPack_Valheim 5.4.2105, and Official_BepInEx_ConfigurationManager 18.0.0
If you're on the default_old then you need V+ version 9.9.13. If you go back to the normal branch (none, i think) and update to 9.9.15 it should work unless you have another mod that's causing your issue.
Did a fresh install today of Valheim and Valheim Plus and getting the same error. Here are some of the logs I captured. Hope that helps.
OS: Windows Server 2019 and Windows 2022.
Valheim Log: https://gist.github.com/CityHallin/32bb7cee9d5ae0f9a464e0be3f4c5c6c Valheim Console: https://gist.github.com/CityHallin/c5bdadb53543ed8bdcf60dccf2850e33 Unity Crash Dump File: https://gist.github.com/CityHallin/7482e30cf2c04a651f757e84b3f65237
You log says your bepinex is version 5.4.19. Make sure your running:
Valheim 215.3 Bepinex 5.4.2105 V+ 9.9.15
Get Outlook for iOShttps://aka.ms/o0ukef
From: CityHallin @.> Sent: Friday, April 21, 2023 9:31:41 PM To: valheimPlus/ValheimPlus @.> Cc: SSimp258 @.>; Comment @.> Subject: Re: [valheimPlus/ValheimPlus] [BUG] After the latest Valheim update, Valheim Plus fails to complete loading (Issue #791)
Did a fresh install today of Valheim and Valheim Plus and getting the same error. Here are some of the logs I captured. Hope that helps.
OS: Windows Server 2019 and Windows 2022.
Valheim Log: https://gist.github.com/CityHallin/32bb7cee9d5ae0f9a464e0be3f4c5c6c Valheim Console: https://gist.github.com/CityHallin/c5bdadb53543ed8bdcf60dccf2850e33 Unity Crash Dump File: https://gist.github.com/CityHallin/7482e30cf2c04a651f757e84b3f65237
— Reply to this email directly, view it on GitHubhttps://github.com/valheimPlus/ValheimPlus/issues/791#issuecomment-1518459993, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AW7F2C5YT44UH366BRDYXULXCMYH3ANCNFSM6AAAAAAVZKJY24. You are receiving this because you commented.Message ID: @.***>
@SSimp258, thanks!
Looked at the main Valheim Plus website and see its still on 9.9.11 which is what confused me. I found the fork that has 9.9.15: https://www.nexusmods.com/valheim/mods/2323?tab=files
Husband and I spent over an hour on this same issue. We have a G-Portal server, I was using ValheimPlus from the link on the Gportal server page, and he downloaded ValheimPlus straight from the github site. He was crashing, where I was not. We did notice one difference between the two windows client zips, gportal file had Valheim.DisplayBepInExInfo.dll in the BepInEx plugin folder, and the github windows client did not. I am not sure if any of t his helps anyone, or if this file was the specific issue, but once he installed the client from the gportal link, all is working.
@SSimp258, thanks!
Looked at the main Valheim Plus website and see its still on 9.9.11 which is what confused me. I found the fork that has 9.9.15: https://www.nexusmods.com/valheim/mods/2323?tab=files
This version worked for me.