Skip to content

Map Coordinate Display mod is throwing an 'TypeLoadException' when 'devcommands' is entered at the F5 console. #126

@CosmicCleric

Description

@CosmicCleric

Map Coordinate Display mod is throwing an 'TypeLoadException' when 'devcommands' is entered at the F5 console.

Start the game (using "./start_game_bepinex.sh || %command%", on Linux/Steam), and then from the character selection screen press F5 then type 'devcommands' into the console, and the following exception is reported, and any future dev commands (like 'spawn', etc.) is not accepted/processed...

TypeLoadException: Failure has occurred while loading a type.
  at (wrapper dynamic-method) Terminal.DMD<Terminal::InputText>(Terminal)
  at Terminal.SendInput () [0x00013] in <cc389e64ec7a437ea7ccc9f28537d12d>:0 
  at UnityEngine.Events.InvokableCall.Invoke () [0x00010] in <bbfcdb8e91a44ae79d53e845fd06b4b5>:0 
  at UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) [0x00049] in <bbfcdb8e91a44ae79d53e845fd06b4b5>:0 
  at GUIFramework.GuiInputField.onInputSubmit (System.String text) [0x00019] in <d0fdf13c58a34d56b23edcb635514648>:0 
  at UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) [0x00010] in <bbfcdb8e91a44ae79d53e845fd06b4b5>:0 
  at UnityEngine.Events.UnityEvent`1[T0].Invoke (T0 arg0) [0x00025] in <bbfcdb8e91a44ae79d53e845fd06b4b5>:0 
  at TMPro.TMP_InputField.SendOnSubmit () [0x0000e] in <f557faa36ffc44e7857dcb305fbf0e07>:0 
  at TMPro.TMP_InputField.OnSubmit (UnityEngine.EventSystems.BaseEventData eventData) [0x00020] in <f557faa36ffc44e7857dcb305fbf0e07>:0 
  at GUIFramework.GuiInputField.OnSubmit (UnityEngine.EventSystems.BaseEventData eventData) [0x0001a] in <d0fdf13c58a34d56b23edcb635514648>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.ISubmitHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00000] in <02f04023544f41f2bd18e20ec37fe4bb>:0 
  at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00067] in <02f04023544f41f2bd18e20ec37fe4bb>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
UnityEngine.InputSystem.UI.InputSystemUIInputModule:ProcessNavigation(NavigationModel&)
UnityEngine.InputSystem.UI.InputSystemUIInputModule:Process()
UnityEngine.EventSystems.EventSystem:Update()

[Info   : Unity Log] 05/25/2025 14:12:07: show character selection

Remove 'MapCoordinateDisplay.dll' from the mods subfolder and then start the game again. Press 'F5' then type 'devcommands', and the exception does not occur.

Version "1-0.220.5 (n-34)" of Valheim. Version "5.4.22.0" of BepInEx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions