This object is in archive! 

DefenseShields and other mods fail to compile on DedicatedServer

Shane Stixrud shared this bug 4 years ago
Won't Fix

With the recent update DefenseShields and multiple other mods are failing to compile on dedicated server with the following error:

2019-08-22 19:28:50.012 - Thread: 7 -> MOD_ERROR: Defense Shields - v1.9(63)2019-08-22 19:28:50.012 - Thread: 7 -> in file: 2019-08-22 19:28:50.012 - Thread: 7 -> Compilation of C:\ProgramData\SpaceEngineersDedicated\test\Mods\1365616918.sbm_DefenseShields failed:2019-08-22 19:28:50.012 - Thread: 7 -> MOD_ERROR: Defense Shields - v1.9(63)2019-08-22 19:28:50.012 - Thread: 7 -> in file: 2019-08-22 19:28:50.012 - Thread: 7 -> (1,0): Error: Error writing to XML documentation file: Value must be positive.Parameter name: count

Replies (6)

photo
2

Looks like they downgraded the compiler to C# 6 or something with this update. C# 7 features that have been supported for ages, like support for expression-bodied properties and pattern matching (like if (shape is Square s)), suddenly no longer compile.

photo
2

Zach that isn't related to this issue.

photo
1

It might not be directly related to the stack trace posted, but you're talking about mods failing to compile, and that's a big contributing factor in this update.

photo
1

Edit: nvm

photo
1

I must not have gotten the fix yet; I'm still getting it.


Edit: I stripped out all the C# 7 stuff from Build Vision and everything started working again clientside, but it's still producing the error above in the DS logs. I guess they are separate problems.

photo
1

Hello, Engineer!


Thank you for your feedback! Yourtopic has been added between considered issues.

Please keep voting for the issue asit will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department

photo
1

Excsue me, i know this is off- topice but can we get some information about locked armor skins even thought dlcs are bought?

photo
1

I hope this issue gets resolved quickly. Lots of mods got broken in the last update. :(

photo
1

Numerous "Error: The type or member 'blah-blah' is prohibited" for every scripted mod

photo
1

Hello Shane!

I appreciate this thread is quite old. Is this a problem that still persists on the latest version of 197.075? If it is now fixed, I will close the thread. If you are still experiencing issues, please also let me know :)

Kind Regards

Laura, QA Department

photo
1

Hello Engineers,


Since there are no new comments in this topic, we are closing this thread as outdated.

In case anyone is encountering the same or similar bug, which is not already posted in a

different thread, please feel free to create a new thread with all relevant information.

Thank you.


Kind Regards

Keen Software House: QA Department

Replies have been locked on this page!