This object is in archive! 

Crashing when opening Weather Menu

Anthony Amadei shared this bug 3 years ago
Solved

Hi !


So my game started crashing since today when I want to open the admin menu, here's the latest thing shown by the logfile :


2020-12-08 02:16:28.769 - Thread: 1 -> Exception occurred: System.ArgumentException: An item with the same key has already been added.

at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)

at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

at Sandbox.Game.Gui.MyGuiScreenAdminMenu.PrepareWeatherDefinitions()

at Sandbox.Game.Gui.MyGuiScreenAdminMenu.RecreateWeatherControls(Boolean constructor)

at Sandbox.Game.Gui.MyGuiScreenAdminMenu.RecreateControls(Boolean constructor)

at Sandbox.Game.Gui.MyGuiScreenAdminMenu.OnModeComboSelect()

at Sandbox.Graphics.GUI.MyGuiControlCombobox.SelectItemByKey(Int64 key, Boolean sendEvent)

at Sandbox.Graphics.GUI.MyGuiControlCombobox.HandleInput()

at Sandbox.Graphics.GUI.MyGuiScreenBase.HandleControlsInput(Boolean receivedFocusInThisUpdate)

at Sandbox.Graphics.GUI.MyGuiScreenBase.HandleInput(Boolean receivedFocusInThisUpdate)

at Sandbox.Game.Gui.MyGuiScreenAdminMenu.HandleInput(Boolean receivedFocusInThisUpdate)

at Sandbox.Graphics.GUI.MyScreenManager.HandleInput()

at Sandbox.Graphics.GUI.MyDX9Gui.HandleInput()

at Sandbox.MySandboxGame.Update()

at Sandbox.Engine.Platform.Game.UpdateInternal()

at Sandbox.Engine.Platform.Game.RunSingleFrame()

at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()

at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)

at Sandbox.Engine.Platform.Game.RunLoop()

at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)

at SpaceEngineers.MyProgram.Main(String[] args)

2020-12-08 02:16:28.770 - Thread: 1 -> Showing message

2020-12-08 02:16:30.144 - Thread: 1 ->


It might be a mod error so I'll try without any mod and after verifying my files.

Replies (3)

photo
1

Hello, Anthony!

Unfortunately we did not manage to reproduce this crash. Weather editor itself as all the options in it work for us (on current version 1.197.069). Can you please try to reproduce it on vanilla game and let us know the results?


Kind Regards

Keen Software House: QA Department

photo
1

Hello !

Yep that's what I started to do immediately after posting this, and after some "tweaking" it worked !

Here's what I did :

- I started a new game without any mods (I left the Experimental mode on and my game was in French) : it crashed when opening the weather editor.

- I turned off the experimental mode and started a new game : same result.

- Lastly, I verified my game files (everything was ok), I switched the language to English, turn the Experimental mode off and tried a new game : it worked !

Then I reloaded my save where it was crashing first, and even with mods it was working.

photo
1

Hello once more, Anthony!

happy you found a workaround so you can still play the game freely until this issue get fixed. We already knew about the game crashing in French localization in Weather Admin Menu, so hope the fix will come soon.

Kind Regards

Keen Software House: QA Department

photo
1

Hello!

We'd like to inform you that this issue will be fixed in the next update (version 198). Thank you for your patience.

Kind Regards,

Keen Software House: QA Department

photo
1

Hello,

this is fixed in 198.

Thank you.

Kind regards,

Keen Software House: QA Department

Replies have been locked on this page!