Jump to content

Game crash - Null Reference exception


WanWhiteWolf
  • Branch: Live Branch Version: Windows Pending

Hello! 

The game crashes every 1-5 cycles (I tried to figure out what is the event via some trial and error but with no success. 

The player.log has 1 million lines with the same error repeating itself (invalid pointer to different addresses). 

" [17:40:56.616] [1] [ERROR] System.NullReferenceException: Object reference not set to an instance of an object
  at PathFinder.AddPotentials (PathFinder+PotentialScratchPad potential_scratch_pad, PathFinder+PotentialPath potential, System.Int32 cost, PathFinderAbilities& abilities, PathFinderQuery query, System.Int32 max_links_per_cell, NavGrid+Link[] links, PathFinder+PotentialList potentials, PathGrid path_grid, System.Int32 parent_cell, NavType parent_nav_type) [0x0016c] in <3b73c925114143c5bad31ccbc5facdf1>:0 
  at PathProber.UpdateProbe (NavGrid nav_grid, System.Int32 cell, NavType nav_type, PathFinderAbilities abilities, PathFinder+PotentialPath+Flags flags) [0x00126] in <3b73c925114143c5bad31ccbc5facdf1>:0 
  at Navigator+PathProbeTask.Run (System.Object sharedData, System.Int32 threadIndex) [0x00016] in <3b73c925114143c5bad31ccbc5facdf1>:0 
  at WorkItemCollection`2[WorkItemType,SharedDataType].InternalDoWorkItem (System.Int32 work_item_idx, System.Int32 threadIndex) [0x0000d] in <7becb3f73037484c93dc2b548fe42a58>:0 
  at JobManager.DoNextWorkItem (System.Int32 threadIndex) [0x0001a] in <7becb3f73037484c93dc2b548fe42a58>:0 
  at JobManager+WorkerThread.Run () [0x0001e] in <7becb3f73037484c93dc2b548fe42a58>:0 " 

I have about 30 mods but I have this setup for quite a while. I checked on steam and none of the mods I am using were updated in the last week (I played hours every day this week - it started today). Any help / suggestions that would help narrowing down the problem would be grately appreciated. 

Thank you. 


Steps to Reproduce

If you require the save, please let me know. 

I haven't identified any specific way to reproduce it yet. I just play the game and at some point it crashes. 




User Feedback


I have a save in cycle 949 where it crashes quite 'reliably". 

I disabled all mods (my colony is not exactly functioning properly without some mods but it removes the possibility of a mod being the culprit). 

The save file is bigger than 24 mb, so I added it here (if you prefer that I upload it somewhere else, please let me know) 

https://www.dropbox.com/scl/fi/e6ea5fuuvrjmpf12gkefw/C949-Crash-0mods.sav?rlkey=kqho1swbchmfpx6f8owzugi9k&st=qk9qooj5&dl=0 

The log is 150 mb but most of it is just repeating the same error (null pointer). I cut some of the middle part to reduce its size. If you need the full log, please let me know how to send it. 

I've tried a lot of things but it's a dead end. It crashes way to often for me to continue playing. Windows also detects that the application writes outside of its memory. 

Steps to reproduce: 

.1. Load the save. 

.2. You will get some notification from some storages that are not existing (were part of a mod). You can ignore them. 

.3. Press resume and wait. I tested it on medium speed. It crashes between 1-5 cycles for me. 

C949-crashNullPtr.logwindows-oni-error.png.8fb508c9a0efc66f9f2002c8da87f560.pngimage.png.36980effef58fc1fe21c778969cb3506.png

Edited by WanWhiteWolf

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...