Jump to content

Game Crash Composting Stale Pickled Meal

Axe Murderer
  • Branch: Live Branch Version: Windows Pending

I have been running into an issue attempting to compost Pickled Meal from my refrigerator when it has gone stale. 

Here's what happened:
1. Open fridge and noticed several stacks of stale pickled meal in the list.
2. Click on one of them and a dialog box pops up with a button at the bottom labelled "COMPOST". Clicked on that button.
3. Normally, the item is removed from the fridge and dropped on the floor as a new item that is compostable. Eventually a dupe hauls it to the compost heap.
However. on a couple of occasions lately when I click the composting button in the pop-up dialog the game will crash with the following error and call stack trace:

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

Edible.OnSplitTick (Pickupable thePieceTaken) (at <a0b1e63c8d674793957c96bc63afc3da>:0)
EntitySplitter.Split (Pickupable pickupable, System.Single amount, UnityEngine.GameObject prefab) (at <a0b1e63c8d674793957c96bc63afc3da>:0)
Compostable.OnToggleCompost () (at <a0b1e63c8d674793957c96bc63afc3da>:0)
UserMenu+<>c__DisplayClass15_0.<AddButton>b__0 () (at <a0b1e63c8d674793957c96bc63afc3da>:0)
KButton.SignalClick (KKeyCode btn) (at <3f146e4773e642efa0f9e57aaa8e84c1>:0)
KButton.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <3f146e4773e642efa0f9e57aaa8e84c1>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <0b23117e1c7442f8b1842fe2f3bf6fcb>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <0b23117e1c7442f8b1842fe2f3bf6fcb>:0)

Build: U43-531669-S


4. The crash does not occur with every stale pickled meal stack stored in the fridge. Some of them work fine, the vast majority of them work correctly. I never can tell which one is gonna cause the crash as I am composting stacks. But upon restarting the game, the same stack will always cause this crash to occur every single time. It's like something is wrong or corrupted with just that one stack. As long as I avoid composting it, I have no problems. So, it is easily to recreate the crash once it happens as long as I take note of where the stack is located in the list of fridge contents when it crashes.

5. As this has only happened to me a few times, I have not been able to notice anything that strikes me as relevant except for the fact that, so far, it has always been the second stack of stale pickled meal listed in the fridge contents list, counting from the top downward. Maybe just a coincidence because it has only happened three or four separate times (several times in one playthrough on the same map, and a couple of others on an entirely different playthrough on a different map). But I did notice that it was the second one down from the top every time so far.

6. When the crash screen comes up, none of the mods listed are unchecked. Every mod listed remains checked on. I'm using about fifteen mods or so I think. Did not try turning all the mods off to test if it still happens without any mods in use. Honestly, I didn't spend much time investigating it.

7. The only fix I've found for it is to turn off access to all the food except pickled meal for the whole colony until all the stacks of it are consumed. Then it won't happen again for hundreds of cycles after many stacks of them have been accumulated and gone stale.

8. Not sure if this happens with stacks of fresh pickled meal or not, since I never compost the fresh stuff. I imagine it probably will not matter if it is fresh or stale, but I have nothing to base that on other than intuition.

9. I tried emptying the refrigerator onto the floor and then composting it directly from the individual stack, but it didn't matter...the game still crashed again when composting the same stack off of the floor, even after reloading the game. The problem does not appear to be related to it being inside a fridge.


Steps to Reproduce

1. Click on stale pickled meal item.

2. Select the 'COMPOST' button in the window that pops up.

3. If the game didn't crash, which is typical, then try another stack.

4. Keep trying stacks until game goes BOOM!


User Feedback

The game appears to crash when composting any food that has been spiced (at least with Freshener Spice)!

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