lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.91k stars 269 forks source link

BepInEx Entrypoint Change #611

Closed MSchmoecker closed 11 months ago

MSchmoecker commented 1 year ago

With the latest Valheim update (0.214.300), one of the changes in the BepInEx pack was to set the Entrypoint inside the BepInEx.cfg from Application to GameObject. If not set correctly, mods get unexpected issues. This should be updated automated, or at least players need to be warned about the change.

Valheim 0.214.2:

[Preloader.Entrypoint]

## The name of the type in the entrypoint assembly to search for the entrypoint method.
# Setting type: String
# Default value: Application
Type = Application

Valheim 0.214.300:

[Preloader.Entrypoint]

## The name of the type in the entrypoint assembly to search for the entrypoint method.
# Setting type: String
# Default value: GameObject
Type = GameObject
MSchmoecker commented 11 months ago

This problem has been fixed some time ago in the BepInExPack_Valheim 5.4.2102 as the entrypoint is now forced by default (can be disabled with a new configuration option). If the entry point changes again, it will be changed in the pack and does not need to be dealt with specifically here.