1.1.0.3 Crash - "DetermineStockLevels"

Moderator: MOD_DW2

Post Reply
Splatter
Posts: 1
Joined: Mon Feb 06, 2023 6:12 pm

1.1.0.3 Crash - "DetermineStockLevels"

Post by Splatter »

Hi,

I've had this error with two clean starts (no mods) and once there is a crash, it crashes again around the same time after reloading a save.

06-02-2023 17-52-03.608: Setting Scaling Core: Large
06-02-2023 17-52-55.288: Loaded existing Galaxy with the following settings:
06-02-2023 17-52-55.289: Dimensions: 6 x 6 sectors, Star Systems: 707, Total Stars, Planets, Moons, Asteroids: 32523, Standard Empires: 11, Pirate Empires: 24, Total Colonies: 96, Total Ships and Bases (including fighters): 7065, Total Troops: 509, Total Creatures: 725, Total SpaceItems: 715
06-02-2023 18-00-25.734: System.NullReferenceException: Object reference not set to an instance of an object.

at void DistantWorlds.Types.Empire.DetermineStockLevels()+0x0
at void DistantWorlds.Types.Empire.DoTasks(DateTime time, Galaxy galaxy)+0x571
06-02-2023 18-00-25.739: System.NullReferenceException: Object reference not set to an instance of an object.

at void DistantWorlds.Types.Empire.DetermineStockLevels()+0x0
at void DistantWorlds.Types.Empire.DoTasks(DateTime time, Galaxy galaxy)+0x571
at void DistantWorlds.Types.Galaxy.DoTasks(DateTime time)+0xF1
06-02-2023 18-00-25.752: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.

at void DistantWorlds.Types.Empire.DetermineStockLevels()+0x0
at void DistantWorlds.Types.Empire.DoTasks(DateTime time, Galaxy galaxy)+0x571
at void DistantWorlds.Types.Galaxy.DoTasks(DateTime time)+0xF1
at async Task<int> DistantWorlds.Types.GameClient.InitiateGalaxyProcessing(DateTime time, Galaxy galaxy)+0x5C
--- End of inner exception stack trace ---
06-02-2023 18-00-25.757: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.

at void DistantWorlds.Types.Empire.DetermineStockLevels()+0x0
at void DistantWorlds.Types.Empire.DoTasks(DateTime time, Galaxy galaxy)+0x571
at void DistantWorlds.Types.Galaxy.DoTasks(DateTime time)+0xF1
at async Task<int> DistantWorlds.Types.GameClient.InitiateGalaxyProcessing(DateTime time, Galaxy galaxy)+0x5C
--- End of inner exception stack trace ---

at void DistantWorlds.Types.Galaxy.ProcessTasks()+0xC0
at void DistantWorlds2.DWGame.Update(GameTime gameTime)+0x2FC
Attachments
DW2_CrashDump 06-02-2023 18-00-25.txt
(1.28 KiB) Downloaded 4 times
Splatz - Human - 2837-04-20.zip
(8.29 MiB) Downloaded 3 times
User avatar
frankycl
Posts: 402
Joined: Mon Mar 01, 2021 5:16 pm

Re: 1.1.0.3 Crash - "DetermineStockLevels"

Post by frankycl »

Wow - that's nice (this way the DEVs won't have to ask for a save :D )

(Don't take this too serious, please - I'm only answering this thread, because the forum would otherwise not change colors of the thread-icon... :roll: )
Intaka
Posts: 21
Joined: Sat Mar 19, 2022 9:45 am

Re: 1.1.0.3 Crash - "DetermineStockLevels"

Post by Intaka »

Same crash. Unavoidable and game ending once it has occurred. This crash seems related to Energy to Fuel converters and stock level interaction somehow. I had just upgraded starbases to use this component. For the record, I'd be fine with making Starbases not ABLE use reactors at all (only energy collectors). E2F collectors could be removed completely from the game at that point, keeping fuel relevant.

Distant Worlds - Crash Dump - Version 1.1.0.3
Stride Version 4.1.34.0-CodeForce

04:54:49 Tuesday, 07 February 2023


System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
---> System.NullReferenceException: Object reference not set to an instance of an object.

at void DistantWorlds.Types.Empire.DetermineStockLevels()+0x6F0
at void DistantWorlds.Types.Empire.DoTasks(DateTime time, Galaxy galaxy)+0x571
at void DistantWorlds.Types.Galaxy.DoTasks(DateTime time)+0xF1
at async Task<int> DistantWorlds.Types.GameClient.InitiateGalaxyProcessing(DateTime time, Galaxy galaxy)+0x5C
--- End of inner exception stack trace ---

at void DistantWorlds.Types.Galaxy.ProcessTasks()+0xC0
at void DistantWorlds2.DWGame.Update(GameTime gameTime)+0x2FC


Further info follows:

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

at void DistantWorlds.Types.Empire.DetermineStockLevels()+0x6F0
at void DistantWorlds.Types.Empire.DoTasks(DateTime time, Galaxy galaxy)+0x571
at void DistantWorlds.Types.Galaxy.DoTasks(DateTime time)+0xF1
at async Task<int> DistantWorlds.Types.GameClient.InitiateGalaxyProcessing(DateTime time, Galaxy galaxy)+0x5C



--- COMPLETE ---
Intaka
Posts: 21
Joined: Sat Mar 19, 2022 9:45 am

Re: 1.1.0.3 Crash - "DetermineStockLevels"

Post by Intaka »

Tried going back to an earlier autosave and manually designing without ever using an Energy to Fuel converter before the research completed.

Game still crashed at about the same timestamp of played time.

Same error "determine stock levels".
schnetz
Posts: 8
Joined: Fri Mar 11, 2022 11:10 am

Re: 1.1.0.3 Crash - "DetermineStockLevels"

Post by schnetz »

Same here. Already had 4 games with the same "DetermineStockLevels" error.
As soon as this error appears, the game is more or less over and I have to start a new one.
User avatar
frankycl
Posts: 402
Joined: Mon Mar 01, 2021 5:16 pm

Re: 1.1.0.3 Crash - "DetermineStockLevels"

Post by frankycl »

Yes, it's a major game-breaking bug - you can see/read it everywhere now. :(

So, maybe a Hotfix wouldn't be bad if there aren't any new updates this week ? (hint at DEVs ;) )
User avatar
Erik Rutins
Posts: 39671
Joined: Tue Mar 28, 2000 4:00 pm
Location: Vermont, USA
Contact:

Re: 1.1.0.3 Crash - "DetermineStockLevels"

Post by Erik Rutins »

This should be fixed in today's 1.1.0.6 public beta update.
Erik Rutins
CEO, Matrix Games LLC


Image

For official support, please use our Help Desk: http://www.matrixgames.com/helpdesk/

Freedom is not Free.
Post Reply

Return to “Distant Worlds 2: Tech Support”