This object is in archive! 

[01_197_168][DS] Mods duplicating when server saves after start

LordTylus shared this bug 3 years ago
Solved

Hello there,

we noticed an issue with our Mods (reported on the server browser) is now at over 500, while we actually only have 24 (or something along those numbers) installed.

We install Mods via Collection. But I heard other people having the same issue without collection having the same problem.

Observed Behavior:

On any startup of the server all mods are loaded (the correct amount of mods). And on first auto save after the server fully booted up the amount of mods reported in the sandbox-config.sbc increases. it does not double, but increases roughly by the amount of mods we have in our collection.

Expected Behavior:

Mods are not listed twice in the sandbox-config.sbc but only contains each unique mod once.

Further assumptions:

We notice joining our modded server with 500+ reported mods by now takes quite a long time. So we assume that each client that is connecing tries to download these 500 mods, even tho there are only ~24 unique ones.

Steps to reproduce:

1. Open a world configuration in Dedicated Server UI

2. Add Mod collection (for example https://steamcommunity.com/sharedfiles/filedetails/?id=2036468035) so ID 2036468035

3. Start world and wait till "game Ready" message is displayed.

4. press the restart button (this will cause "autosafe in unload"

5. observe sandbox-config.sbc containing list of mods.

6. wait till server has restarted

7. once "game ready" message is displayed press restart button again

8. observe sandbox-config.sbc list of mods has increased in size and now contains duplicates


Note: pressing restart is just a shortcut for triggering an autosave. this only occurs on the first save after the server has started up. So pretty much after any auto restart.


See Attached Logs

Please fix

Replies (4)

photo
1

Hello, Engineers!


Thank you for reporting the issue. We successfully reproduced it and forwarded to our programmer team.


Kind Regards,

Keen Software House: QA Department

photo
1

For some users it can increase loading time over 10 minutes (8 mod server showing 53). So bugfix may be urgently needed.

This is Game log fragment (observe time stamps of loading tries - in this case it gives 6.5 minutes unnecessary tries):

2021-02-15 21:22:34.103 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:22:44.371 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:22:48.121 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:22:58.570 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:23:02.319 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:23:16.959 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:23:20.761 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:23:31.488 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:23:35.404 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:23:50.639 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:23:54.501 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:24:09.562 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:24:13.301 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:24:29.812 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:24:34.501 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:24:45.226 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:24:49.016 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:24:59.573 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:25:03.274 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:25:19.409 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:25:23.094 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:25:32.568 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:25:36.282 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:25:51.791 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:25:55.651 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:26:07.091 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:26:11.008 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:26:21.766 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:26:25.924 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:26:36.751 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:26:40.536 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:26:57.340 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:27:01.394 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:27:11.951 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:27:15.812 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:27:26.973 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:27:31.082 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:27:41.797 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:27:45.556 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:28:02.735 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:28:06.670 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:28:23.123 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:28:27.104 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:28:43.122 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:28:46.976 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\2043543925.sbm_RivalAI 2021-02-15 21:28:56.954 - Thread:   1 ->     Script already in list C:\Users\user\AppData\Roaming\SpaceEngineers\Mods\1965654081.sbm_RichHudFramework 2021-02-15 21:28:57.115 - Thread:   1 ->     Script loaded: 2043543925.sbm_RivalAI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 2021-02-15 21:28:57.115 - Thread:   1 ->     Script loaded: 1965654081.sbm_RichHudFramework, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 2021-02-15 21:28:57.116 - Thread:   1 ->     Script loaded: 801185519.sbm_Sisk, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 2021-02-15 21:28:57.117 - Thread:   1 ->     Script loaded: 677790017.sbm_ContainerStatus, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 2021-02-15 21:28:57.118 - Thread:   1 ->     Script loaded: 1697184408.sbm_BuildVision2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 2021-02-15 21:28:57.119 - Thread:   1 ->     Script loaded: 1521905890.sbm_ModularEncountersSpawner, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null 2021-02-15 21:28:57.120 - Thread:   1 ->     Script loaded: 1406994352.sbm_TorchMod, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null

photo
1

The problem occurs only with so-called „dependency“ mods. If you add them all directly via their ID, NOT over Collections,it works again for now. Before that, remove all occurrences of the mod in question.

photo
1

Fixed in version 197.170.

Replies have been locked on this page!