Jump to content

NullReferencesException


Theomede
  • Branch: Preview Branch Version: Windows Fixed

Hello,

I have this recurrent bug on my save. I expect it's related to the oil tank, but i'm not sure.

This is the error

Quote

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

AttachableBuilding.OnCleanUp () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/AttachableBuilding.cs:151)
KMonoBehaviour.OnDestroy () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/KMonoBehaviour.cs:230)
 


Anyone know if there is a solution ?

 

Regard's


Steps to Reproduce

?




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 have this same crash, In the player log it seems to point to the Beetafinery.

 

[08:59:49.953] [1] [WARNING] Entity <link="BEEHIVE">Beetafinery</link> does not have amount with ID Calories
[08:59:50.013] [1] [WARNING] Trying to put null go into scene partitioner
[08:59:55.087] [1] [WARNING] Failed to Unsubscribe event handler: AttackableBase+<>c.Void <.cctor>b__12_1(AttackableBase, System.Object)
Not subscribed to event
[08:59:57.970] [1] [WARNING] Failed to Unsubscribe event handler: AttackableBase+<>c.Void <.cctor>b__12_1(AttackableBase, System.Object)
Not subscribed to event
[09:00:08.673] [1] [WARNING] Failed to Unsubscribe event handler: AttackableBase+<>c.Void <.cctor>b__12_1(AttackableBase, System.Object)
Not subscribed to event
NullReferenceException: Object reference not set to an instance of an object
  at AttachableBuilding.OnCleanUp () [0x00020] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\scripts\game\AttachableBuilding.cs:151 
  at KMonoBehaviour.OnDestroy () [0x00049] in C:\jenkins_workspace\workspace\SimGame_Windows\game\Assets\Plugins\Klei\util\KMonoBehaviour.cs:230 
 
(Filename: C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/AttachableBuilding.cs Line: 151)

 

I tried debug and destroying them but still crashed

 

 

Edit:

I thought about it and realized after building my Oil Wells the crash started too, so I destroyed them and it's not crashing anymore

 

 

 

Edited by dehugin

Share this comment


Link to comment
Share on other sites

Changed Status to Fixed

There's a crash when an Oil Well melts. It's been fixed in development and will be in a future patch.

  • Thanks 1

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