SanchozzDeponianin / ONIMods

Sanchozz's mods for Oxygen Not Included
MIT License
16 stars 15 forks source link

[Issue]:Game crashed unexpectedly #75

Closed ranutdog closed 3 months ago

ranutdog commented 3 months ago

Description of the bug/crash

I don't do anything and the game crashed unexpectedly. I don't know what has happened.

Steps To Reproduce

From the latest saving point,which was saved once a cycle so that it was the cycle which the crash happened, leaving nothing to do and the crash occurred. I guess the agricultural station I set before in the sea lettuce harvesting room may be the reason for the game's crash. And in that room there has a divergent beetle and a lettuce with thrive mutation. Is that possible when duplicants fertilise the mutated plants game crashed? I don't know.

Player.log

Player.log

SanchozzDeponianin commented 3 months ago

attach your save file

ranutdog commented 3 months ago

家 Cycle 784.zip Is that Okay?

ranutdog commented 3 months ago

Did the collapse of the game be caused by the withering of tree branches?

ranutdog commented 3 months ago

[03:20:26.459] [1] [INFO] Better Farming Effects and Tweaks's patched_method SpaceTreePlant+Instance.OnBranchWiltStateChanged matched in the stack trace, adding to referenced mods list NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr) at UnityEngine.Component.GetComponent[T] () [0x00021] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at KMonoBehaviour.IStateMachineTarget.GetComponent[ComponentType] () [0x00000] in <0a61a0e7beaf44b6b425814476821935>:0 at StateMachine+Instance.GetComponent[ComponentType] () [0x00006] in <93e6d51e7c504f4483a782aaaf7248c3>:0 at BetterPlantTending.ExtendedFertilizationIrrigationMonitor.QueueUpdateAbsorbing (StateMachine+Instance smi) [0x0000d] in :0 at BetterPlantTending.BetterPlantTendingPatches+SpaceTreePlant_Instance_OnBranchWiltStateChanged.Postfix (SpaceTreePlant+Instance __instance) [0x00000] in :0 at (wrapper dynamic-method) SpaceTreePlant+Instance.SpaceTreePlant+Instance.OnBranchWiltStateChanged_Patch1(SpaceTreePlant/Instance,object) at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x000a7] in <0a61a0e7beaf44b6b425814476821935>:0 at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00026] in <0a61a0e7beaf44b6b425814476821935>:0 at WiltCondition.DoRecover () [0x00083] in <93e6d51e7c504f4483a782aaaf7248c3>:0 at WiltCondition.DoRecoverCallback (System.Object data) [0x00000] in <93e6d51e7c504f4483a782aaaf7248c3>:0 at Scheduler.Update () [0x00083] in <93e6d51e7c504f4483a782aaaf7248c3>:0 at GameScheduler.Update () [0x00000] in <93e6d51e7c504f4483a782aaaf7248c3>:0

[03:20:27.001] [1] [INFO] Checking which steam branch we're on. Got: [public_testing] NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.GetComponentFastPath(UnityEngine.Component,System.Type,intptr) at UnityEngine.Component.GetComponent[T] () [0x00021] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at KMonoBehaviour.IStateMachineTarget.GetComponent[ComponentType] () [0x00000] in <0a61a0e7beaf44b6b425814476821935>:0 at StateMachine+Instance.GetComponent[ComponentType] () [0x00006] in <93e6d51e7c504f4483a782aaaf7248c3>:0 at BetterPlantTending.ExtendedFertilizationIrrigationMonitor.QueueUpdateAbsorbing (StateMachine+Instance smi) [0x0000d] in :0 at BetterPlantTending.BetterPlantTendingPatches+SpaceTreePlant_Instance_OnBranchWiltStateChanged.Postfix (SpaceTreePlant+Instance __instance) [0x00000] in :0 at (wrapper dynamic-method) SpaceTreePlant+Instance.SpaceTreePlant+Instance.OnBranchWiltStateChanged_Patch1(SpaceTreePlant/Instance,object) at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x000a7] in <0a61a0e7beaf44b6b425814476821935>:0 at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00026] in <0a61a0e7beaf44b6b425814476821935>:0 at WiltCondition.DoRecover () [0x00083] in <93e6d51e7c504f4483a782aaaf7248c3>:0 at WiltCondition.DoRecoverCallback (System.Object data) [0x00000] in <93e6d51e7c504f4483a782aaaf7248c3>:0 at Scheduler.Update () [0x00083] in <93e6d51e7c504f4483a782aaaf7248c3>:0 at GameScheduler.Update () [0x00000] in <93e6d51e7c504f4483a782aaaf7248c3>:0

ranutdog commented 3 months ago

The game crashed again this morning, and it's several cycles after the first crash. I don't do any operation about farming and tweak, it crashed when I assigned the construction task in my fishing pool. It seems to be random or related to some automatically assigned agricultural tasks which duplicants finished by themselves.

SanchozzDeponianin commented 3 months ago

it seems to happen when Bonbon Tree branch was (un)wilted and trunk was destroyed at same game tick. I have added more checks