Jump to content

crash when set to compost mutant seed


darklinio
  • Branch: Live Branch Version: Linux Fixed
Error in CompostColdWheatSeed (ColdWheat_bonusLice).MutantPlant.OnSpawn
System.NullReferenceException: Object reference not set to an instance of an object
  at Klei.AI.PlantMutation.ApplyVisualTo (MutantPlant target) [0x00075] in <dc1c73e371f44b3eab8a2a19bb7cc207>:0
  at Klei.AI.PlantMutation.ApplyTo (MutantPlant target) [0x00021] in <dc1c73e371f44b3eab8a2a19bb7cc207>:0
  at MutantPlant.ApplyMutations () [0x0002f] in <dc1c73e371f44b3eab8a2a19bb7cc207>:0
  at MutantPlant.OnSpawn () [0x00039] in <dc1c73e371f44b3eab8a2a19bb7cc207>:0
  at KMonoBehaviour.Spawn () [0x0005d] in <56d187cf5d76474d901f2444f81d6f6f>:0

  at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <9cfd92ef5d5d4d0d88cb0368b5619b29>:0
  at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <56d187cf5d76474d901f2444f81d6f6f>:0
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <56d187cf5d76474d901f2444f81d6f6f>:0
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <56d187cf5d76474d901f2444f81d6f6f>:0
  at KMonoBehaviour.Spawn () [0x00000] in <56d187cf5d76474d901f2444f81d6f6f>:0
  at KMonoBehaviour.Start () [0x00000] in <56d187cf5d76474d901f2444f81d6f6f>:0
Build: U33-473720-S

When i try to send some mutant seed stored into a fridge to compost, ONI:SO crashed.

I play on build U33-473720-5 with mods:


Steps to Reproduce
  1. Store differents mutant seed and original into a fridge(no need to power it)
  2. open it
  3. click on the 2nd mutant type
  4. click on "compost"
  5. TADA!

League.sav lshw.txt

  • Like 1
  • Sad Dupe 1



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.

There was a fix for composting mutant seeds "Fix crash when toggling compost on mutant seeds" in update 464102 but maybe sleet wheat wasn't included in it..?

Share this comment


Link to comment
Share on other sites

Yep me too, but error msg a bit different:

Spoiler

Assert failed: Two seeds of different subspecies just absorbed!

  at UnityEngine.Debug.LogError (System.Object message) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 
  at Debug.LogError (System.Object obj) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at Debug.Assert (System.Boolean condition, System.Object message) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at MutantPlant.OnAbsorb (System.Object data) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at MutantPlant+<>c.<.cctor>b__35_0 (MutantPlant component, System.Object data) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at EventSystem+IntraObjectHandler`1[ComponentType].Trigger (UnityEngine.GameObject gameObject, System.Object eventData) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at Pickupable.Absorb (Pickupable pickupable) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Pickupable.TryAbsorb (Pickupable other, System.Boolean hide_effects, System.Boolean allow_cross_storage) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Storage.Store (UnityEngine.GameObject go, System.Boolean hide_popups, System.Boolean block_events, System.Boolean do_disease_transfer, System.Boolean is_deserializing) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Pickupable.OnCompleteWork (Worker worker) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Workable.CompleteWork (Worker worker) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Worker.CompleteWork () [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Worker.Work (System.Single dt) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at GameStateMachine`4+State+<>c__DisplayClass80_0[StateMachineType,StateMachineInstanceType,MasterType,DefType].<ToggleWork>b__1 (StateMachineInstanceType smi, System.Single dt) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at BucketUpdater`1[DataType].Update (DataType data, System.Single dt) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at StateMachineUpdater.AdvanceOneSimSubTick () [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at Game.SimEveryTick (System.Single dt) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Game.Update () [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
Build: U33-473720-S

 

Edited by Outrate
upload evidence

Share this comment


Link to comment
Share on other sites

19 hours ago, Outrate said:

Yep me too, but error msg a bit different:

  Reveal hidden contents

Assert failed: Two seeds of different subspecies just absorbed!

  at UnityEngine.Debug.LogError (System.Object message) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 
  at Debug.LogError (System.Object obj) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at Debug.Assert (System.Boolean condition, System.Object message) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at MutantPlant.OnAbsorb (System.Object data) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at MutantPlant+<>c.<.cctor>b__35_0 (MutantPlant component, System.Object data) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at EventSystem+IntraObjectHandler`1[ComponentType].Trigger (UnityEngine.GameObject gameObject, System.Object eventData) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at Pickupable.Absorb (Pickupable pickupable) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Pickupable.TryAbsorb (Pickupable other, System.Boolean hide_effects, System.Boolean allow_cross_storage) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Storage.Store (UnityEngine.GameObject go, System.Boolean hide_popups, System.Boolean block_events, System.Boolean do_disease_transfer, System.Boolean is_deserializing) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Pickupable.OnCompleteWork (Worker worker) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Workable.CompleteWork (Worker worker) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Worker.CompleteWork () [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Worker.Work (System.Single dt) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at GameStateMachine`4+State+<>c__DisplayClass80_0[StateMachineType,StateMachineInstanceType,MasterType,DefType].<ToggleWork>b__1 (StateMachineInstanceType smi, System.Single dt) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at BucketUpdater`1[DataType].Update (DataType data, System.Single dt) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at StateMachineUpdater.AdvanceOneSimSubTick () [0x00000] in <7110358c02a14df2a7a2562defcc57da>:0 
  at Game.SimEveryTick (System.Single dt) [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
  at Game.Update () [0x00000] in <34596b94026340528c5a12b9fac008f1>:0 
Build: U33-473720-S

 

Same here. Good to know what not to do to reproduce. xD

  • Big Ups 1
  • Sad Dupe 1

Share this comment


Link to comment
Share on other sites

Changed Status to Fixed

There were two bugs here, fixing the first revealed another one. Both will be fixed in a future update.

  • Thanks 2
  • Big Ups 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...