space-engineers-dedicated-docker-linux: Mods fail to download
Pretty simple, every mod I try to add to the world fails the download with “k_EResultFail”.
The server then fails to start with “Exception while loading world: Value cannot be null.”
I’ve also tried manually moving the mods to “/appdata/space-engineers/bins/SpaceEngineersDedicated/Mods”, but that doesn’t seem to help.
The container can reach the steam servers just fine, as it can download updates for Space Engineers itself (pinging server from inside the container also works just fine).
The logs look like this (mod IDs vary of course):
2022-06-27 18:02:21.682 - Thread: 12 -> Mod query successful
2022-06-27 18:02:21.710 - Thread: 7 -> Downloading: Id = 2483168442, title = 'Ganymede Tech - Production Mod Pack'
2022-06-27 18:02:23.192 - Thread: 6 -> MyDefinitionManager.GetSessionPreloadDefinitions() - END
2022-06-27 18:02:23.192 - Thread: 6 -> MySandboxGame.PerformPreload() - END VANILLA SOUNDS AND VOXELS
2022-06-27 18:02:23.193 - Thread: 6 -> MySandboxGame.PerformPreload() - END
2022-06-27 18:02:23.875 - Thread: 12 -> Workshop item with id 2483168442 download finished. Result: k_EResultFail
2022-06-27 18:02:23.876 - Thread: 12 -> Workshop item with id 2483168442 download finished. Result: k_EResultFail
2022-06-27 18:02:23.876 - Thread: 12 -> Error during downloading: Fail
2022-06-27 18:02:23.883 - Thread: 7 -> Up to date mod: Id = 2483168442, title = 'Ganymede Tech - Production Mod Pack'
2022-06-27 18:02:23.883 - Thread: 7 -> Mod download time: 2.18 seconds
2022-06-27 18:02:23.885 - Thread: 7 -> Downloading world mods - END
2022-06-27 18:02:23.894 - Thread: 1 -> Loading session: Z:\appdata\space-engineers\World
2022-06-27 18:02:23.942 - Thread: 1 -> GC Memory: 64,541,600 B
2022-06-27 18:02:23.944 - Thread: 1 -> Process Memory: B
2022-06-27 18:02:23.944 - Thread: 1 -> Experimental mode: Yes
2022-06-27 18:02:23.944 - Thread: 1 -> Experimental mode reason: ExperimentalMode, Mods
2022-06-27 18:02:23.944 - Thread: 1 -> Console compatibility: No
2022-06-27 18:02:24.757 - Thread: 1 -> MyScriptManager.LoadData() - START
2022-06-27 18:02:24.821 - Thread: 1 -> Error: Error during loading session:System.ArgumentNullException: Value cannot be null.
Parameter name: path1
at System.IO.Path.Combine(String path1, String path2)
at VRage.Game.MyModContext.Init(ModItem modItem)
at VRage.Game.MyObjectBuilder_Checkpoint.ModItem.GetModContext()
at Sandbox.Game.World.MyScriptManager.LoadData()
at Sandbox.Game.World.MySession.PrepareBaseSession(MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
at Sandbox.Game.World.MySession.Load(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
2022-06-27 18:02:24.822 - Thread: 1 -> Exception while loading world: Value cannot be null.
Parameter name: path1
2022-06-27 18:02:24.822 - Thread: 1 -> at System.IO.Path.Combine(String path1, String path2)
at VRage.Game.MyModContext.Init(ModItem modItem)
at VRage.Game.MyObjectBuilder_Checkpoint.ModItem.GetModContext()
at Sandbox.Game.World.MyScriptManager.LoadData()
at Sandbox.Game.World.MySession.PrepareBaseSession(MyObjectBuilder_Checkpoint checkpoint, MyObjectBuilder_Sector sector)
at Sandbox.Game.World.MySession.Load(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
at Sandbox.Game.World.MySessionLoader.LoadDedicatedSession(String sessionPath, CancelToken cancelToken, Action afterLoad)
at Sandbox.MySandboxGame.InitQuickLaunch()
2022-06-27 18:02:24.822 - Thread: 1 -> MySandboxGame.Initialize() - END
2022-06-27 18:02:24.823 - Thread: 1 -> Timer Frequency: 10000000
2022-06-27 18:02:24.823 - Thread: 1 -> Ticks per frame: 166667
2022-06-27 18:02:24.823 - Thread: 1 -> Exiting..
Full log: SELog.log
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 16 (5 by maintainers)
Nice, thanks a lot! This also fixed my problems.
I think I stumbled upon this solution in my initial debugging, but dismissed it as being windows specific.