Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while booting dedicated barotrauma server with modding toolkit #5

Open
goalie2002 opened this issue Nov 26, 2023 · 0 comments
Open

Comments

@goalie2002
Copy link

goalie2002 commented Nov 26, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant