cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
697 stars 272 forks source link

Hauling objects that are about to expire (disapear) may lead to a crash #4733

Open Xindage opened 5 months ago

Xindage commented 5 months ago

Describe the bug

When you haul several rotten objects (ex: Rotten tainted fat/meat) that its about to disappear, the game kinda of freak out with the Debug error: LOST TARGET and SOMETIMES if you choose to ignore the game end in a segment fault. (happened for me in 2 out of 5 tries)

Steps To Reproduce

Note: using my save should be better to reproduce the error.

  1. Butcher all these zombie bodies (quick butcher)
  2. Haul everything with you for few turn.
  3. The items will start to disappear as they're way too old.
  4. The engine will lost the target of your task, choose to ignore
  5. There's a chance of game crashing, if not noticed that the tainted fat/meat parts are gone.

Screenshots

No response

Versions and configuration

Additional context

Hickory Valley.zip The save that i used to reproduce the error.

scarf005 commented 5 months ago

cc @joveeater