Skip to content

Error while booting dedicated barotrauma server with modding toolkit #5

@goalie2002

Description

@goalie2002

I'm running the latest version of barotrauma dedicated server and all mods. The only mods installed are server side lua, cs for barotrauma, and modding toolkit. When starting the dedicated server, I get the following error. If I then add a mod that requires modding toolkit (in my case Mechtrauma), it'll also throw an error when trying to initialize that. The server is running Ubuntu 22.04.

[Server] CsPackageManager: Error while instantiating plugin of type ModdingToolkit.MTKBootloader. Now disposing...
[Server] CsPackageManager: Details: Exception has been thrown by the target of an invocation. | System.MethodAccessException: Attempt by method 'ModdingToolkit.Utils+Logging.PrintMessage(System.String)' to access method 'Barotrauma.LuaCsLogger.LogMessage(System.String, System.Nullable1<Microsoft.Xna.Framework.Color>, System.Nullable1<Microsoft.Xna.Framework.Color>)' failed.
at ModdingToolkit.Utils.Logging.PrintMessage(String s)
at ModdingToolkit.MTKBootloader..ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)

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