Jump to content

Game crash - NullReferenceException: Object reference not set to an instance of an object (in module AutoMiner)


Alexander Block
  • Branch: Preview Branch Version: Windows Fixed

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

AutoMiner.ValidDigCell (System.Int32 cell) (at /home/build/workspace/game/Assets/scripts/game/Buildings/AutoMiner.cs:380)
AutoMiner.RefreshDiggableCell () (at /home/build/workspace/game/Assets/scripts/game/Buildings/AutoMiner.cs:340)
AutoMiner.Sim1000ms (System.Single dt) (at /home/build/workspace/game/Assets/scripts/game/Buildings/AutoMiner.cs:191)
SimAndRenderScheduler+Sim1000msUpdater.Update (ISim1000ms updater, System.Single dt) (at /home/build/workspace/game/Assets/Plugins/Klei/util/SimAndRenderScheduler.cs:272)
UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:79)
StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:152)
StateMachineUpdater.AdvanceOneSimSubTick () (at /home/build/workspace/game/Assets/Plugins/Klei/util/StateMachineUpdater.cs:244)
Game.SimEveryTick (System.Single dt) (at /home/build/workspace/game/Assets/scripts/game/Game.cs:1398)
Game.Update () (at /home/build/workspace/game/Assets/scripts/game/Game.cs:1374)

Build: U50-581003-S


Steps to Reproduce

Load save and unpause.

Обильные метеорные дожди марта.sav




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

I experienced the same crash as well. In my case, it was because I have Robominers on open mechanical doors. Removing those doors fixed the crash for me.

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