This object is in archive! 

Dedicated server cant load plugin dll

Thorwin Vogt shared this bug 3 years ago
Solved

Using the dedicated server downloadable through steam, I tried to load a plugin using the GUI of the server. Adding it using the respective button won't load nor add it to the list of plugins. Even adding it manually through the SpaceEngineers-Dedicated.cfg config file won't load the plugin. It used to work in previous versions, and I verified, that it is not the plugins .dll file that causes the issue, since other plugins won't work as well.

Replies (6)

photo
1

Hello!

Thank you very much for reporting this. I see this was a few weeks ago, are you still having the issue? Could I please ask which plugin you're having an issue with? Any other information would be a great help!

Kind Regards

Laura, QA Department

photo
1

Yes, the issue is still present. A plugin assembly loaded with the dedicated server manager does neither show up in the gui nor the config file of the dedicated server. Adding a plugin manually to the config also does not load it.

I am having problems with this plugin: SEWorldGenPlugin

To verify, that it is not the plugin itself, I also created a new empty plugin, which can be loaded with Space engineers, but again, not with the dedicated server.

photo
1

Hello again!

Thank you for the extra information and I have passed this on to be looked into for you. Thank you very much for reporting this, hopefully, we can work out what is causing the issue for you.

Kind Regards

Laura, QA Department

photo
1

I am also experiencing this problem. I have a POC plugin project, DedicatedServerPluginTest, that looks like it was produced by Keen in 2018 which is refusing to load. I also edited the SpaceEngineers-Dedicated.cfg file to include a path to the plugin in the Plugins element, and it still did not load. I also added a call to MyLog.Default.WriteLineAndConsole in the plugin's init method, and my log message does not show in the console.

photo
1

Actually, You can edit the SpaceEngineers-Dedicated.cfg to add the plugin, I must have been editing the wrong file last night. With the dedicated server off, just edit the <Plugin> element to be like this:


<Plugins>

<string>C:\path\to\plugin\here.dll</string>

</Plugins>

photo
2

I was having issues even after manually adding a plugin string in .cfg file - dedicated server for SE using multigrid projector plugin

ERROR: Could not load necessary assembly dependencies. C# redistributable may be missing. Affected file: file:///C:\Users\MarkS\Documents\MultigridProjectorDedicated-v0.4.1\MultigridProjectorDedicated.dll

photo
1

This started happening to me recently. I used to be able to load Multigrid projector just fine, until I wanted to update the plugin to the latest version released a few days ago. I'm now getting the error "Could not load selected assembly", and oddly enough, I can't even load the previous version anymore. It gives me the same error!

photo
1

Hello, Engineers!

I appreciate this thread is quite old. We have had a number of updates since this and wonder if this is still an issue or, has since resolved itself.

Please let me know :)

Kind Regards

Laura, QA Department

photo
1

I just tested it with the latest dedicated server, and it seems to work.

So i guess the bug can be closed.

photo
1

Hello, Thorwin!

Thank you so much for letting me know :)

Kind Regards

Laura QA Department

photo
1

I am sorry to disagree but this issue still persists!

Adding plugins via Dedicated server GUI has always been unreliable and flaky, most of the time it also removes plugins set through the config file itself.

What has seemed to fix it for me some times is reinstalling all .NET runtimes but not this time.

Please rool out a proper fix for this asap,

Kind regards, Chaos

photo
1

This issue has been happening to me for the past few days now. Same plugin works for my friend but not for me.

photo
1

I am also having this issue. For me it's tebex which works fine on a third-party server, but running my test server at home - won't load.


Could not load necessary assembly dependencies. C# redistributable may be missing. Affected file...


have tried running from command line as admin

SpaceEngineersDedicated.exe -path c:\ProgramData\....\se100

which just dies with the above error


I have tried running the GUI, but it just overwrites the config and the plugins are loaded at all or referenced in the plugin section of the server config GUI

Replies have been locked on this page!