Game crash on Start

Moderator: MOD_DW2

Post Reply
KG_AGCent
Posts: 6
Joined: Fri Nov 15, 2024 9:44 pm

Game crash on Start

Post 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 ---
Attachments
SessionLog.txt
(85.5 KiB) Downloaded 2 times
DW2_CrashDump 19-05-2025 09-20-17 1.txt
(607 Bytes) Downloaded 2 times
User avatar
MaximKI
Posts: 1847
Joined: Thu Oct 20, 2022 12:29 pm

Re: Game crash on Start

Post 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/
KG_AGCent
Posts: 6
Joined: Fri Nov 15, 2024 9:44 pm

Re: Game crash on Start

Post 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...
User avatar
MaximKI
Posts: 1847
Joined: Thu Oct 20, 2022 12:29 pm

Re: Game crash on Start

Post 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
Cuken
Posts: 1
Joined: Sat Nov 09, 2024 9:55 pm

Re: Game crash on Start

Post 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.
KG_AGCent
Posts: 6
Joined: Fri Nov 15, 2024 9:44 pm

Re: Game crash on Start

Post 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.
Post Reply

Return to “Distant Worlds 2: Tech Support”