Page 1 of 1

Game crash on Start

Posted: Mon May 19, 2025 4:08 pm
by KG_AGCent
NVidia RTX 2080 Super running v570 driver
AMD Ryzen 9 3900X 12-core with Hyper-Threading
Ubuntu 24.04.2 LTS
32gb RAM
Steam version of the game updated to latest version

This game was working last week...
-----------------------------------

Distant Worlds - Crash Dump - Version 1.3.0.3
Stride Version 4.2.0.28-CodeForce

08:31:36 Monday, 19 May 2025


System.NullReferenceException: Object reference not set to an instance of an object.

at bool WindowsHelpers.GetCurrentDisplayMode(out int width, out int height, out int refreshRateNum, out int refreshRateDenom)+0x4E
at void DistantWorlds.Types.GraphicsHelper.SelectDefaultDisplaySettings(GraphicsDevice graphics, GameSettings gameSettings)+0x141
at void DistantWorlds.Types.GameSettings.GenerateDefaultValuesGeneral(GraphicsDevice graphics)+0x200



--- COMPLETE ---

Re: Game crash on Start

Posted: Tue May 20, 2025 8:31 pm
by MaximKI
Have you tried verifying your Steam files? Have you tried any of the options we offer in the FAQ here: https://steamcommunity.com/app/1531540/ ... 342230406/

Re: Game crash on Start

Posted: Thu May 22, 2025 1:00 am
by KG_AGCent
MaximKI wrote: Tue May 20, 2025 8:31 pm Have you tried verifying your Steam files? Have you tried any of the options we offer in the FAQ here: https://steamcommunity.com/app/1531540/ ... 342230406/
I have done most of what is recommended in the post, that applies to my situation. No change. Any suggestions? The appended logs to the OP do not mean anything to my untrained eye...

Re: Game crash on Start

Posted: Thu May 22, 2025 6:13 pm
by MaximKI
KG_AGCent wrote: Thu May 22, 2025 1:00 am
MaximKI wrote: Tue May 20, 2025 8:31 pm Have you tried verifying your Steam files? Have you tried any of the options we offer in the FAQ here: https://steamcommunity.com/app/1531540/ ... 342230406/
I have done most of what is recommended in the post, that applies to my situation. No change. Any suggestions? The appended logs to the OP do not mean anything to my untrained eye...
Have you tried deleting these 2 files and then verifying Steam files:

- GameSettings
- GameStartSettings

Re: Game crash on Start

Posted: Fri May 23, 2025 11:15 pm
by Cuken
@MaximKI

I'm also experiencing a crash on start with a fresh install and no GameOverrideSettings.txt file present;

On Linux, I think there may be a new issue introduced around `WindowsHelpers.GetCurrentDisplayMode(...)` as it's returning null and the code is throwing a null reference exception.

I tried some forced settings introducing a GameOverrideSettings.txt, but it seems to immediately crash.

23-05-2025 16-09-27.324: System.NullReferenceException: Object reference not set to an instance of an object.
at WindowsHelpers.GetCurrentDisplayMode(Int32& width, Int32& height, Int32& refreshRateNum, Int32& refreshRateDenom)
at DistantWorlds.Types.GraphicsHelper.SelectDefaultDisplaySettings(GraphicsDevice graphics, GameSettings gameSettings)
at DistantWorlds.Types.GameSettings.GenerateDefaultValuesGeneral(GraphicsDevice graphics)
23-05-2025 16-09-27.353: System.NullReferenceException: Object reference not set to an instance of an object.

at bool WindowsHelpers.GetCurrentDisplayMode(out int width, out int height, out int refreshRateNum, out int refreshRateDenom)+0x4E
at void DistantWorlds.Types.GraphicsHelper.SelectDefaultDisplaySettings(GraphicsDevice graphics, GameSettings gameSettings)+0x141
at void DistantWorlds.Types.GameSettings.GenerateDefaultValuesGeneral(GraphicsDevice graphics)+0x200

I've tried the new beta branch and seeing identical issues as well. Hopefully this extra data point can help point towards a possible solution.

Re: Game crash on Start

Posted: Sun May 25, 2025 5:14 pm
by KG_AGCent
MaximKI wrote: Thu May 22, 2025 6:13 pm
KG_AGCent wrote: Thu May 22, 2025 1:00 am
MaximKI wrote: Tue May 20, 2025 8:31 pm Have you tried verifying your Steam files? Have you tried any of the options we offer in the FAQ here: https://steamcommunity.com/app/1531540/ ... 342230406/
I have done most of what is recommended in the post, that applies to my situation. No change. Any suggestions? The appended logs to the OP do not mean anything to my untrained eye...
Have you tried deleting these 2 files and then verifying Steam files:

- GameSettings
- GameStartSettings
Yes, also complete re-install after the first few crashes. The same crash happens with the new install.

Re: Game crash on Start

Posted: Thu Jun 05, 2025 10:44 pm
by KG_AGCent
Any ideas?