L1m3r replied to Valheim startup error message "Unity Log] GetPixel called on an undefined mip (valid values are ▸ - 6 March 28, 2023 @ 4:26:01 pm PDT

Well this is odd.
I just updated BepInExPack_Valheim[valheim.thunderstore.io] and VH isn't crashing anymore but all the mods that just got loaded get unloaded right before the VH's main window finishes loading...

[Message: BepInEx] BepInEx 5.4.21.0 - valheim (<DATE> <TIME>)
...
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.21.0]
[Info : BepInEx] 1 patcher plugin loaded
[Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message: BepInEx] Preloader finished
...
[Info : BepInEx] 19 plugins to load
[Info : BepInEx] Loading ......
.....<SNIP>......
[Message: BepInEx] Chainloader startup complete
<RI> Initializing input.
New input system (experimental) initialized
Using XInput
<RI> Input initialized.
<RI> Initialized touch support. [Warning: HarmonyX] UnpatchAll has been called - This will remove ALL HARMONY PATCHES.

Turns out you absolutely need to update/overwrite the "...\Valheim\BepInEx\config\BepInEx.cfg" because of one change:
[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
"GameObject" replaced the previous "Application".

I usually don't just overwrite configs because of possible changes I made - in this case I had modified some logging stuff.

So it works now but it was wired/odd seeing all mods being loaded only to be unloaded immediately afterwards without any real error messages.
2:13 am, March 29, 2023
L1m3r 0 comments 0 likes