Crash Bug : bad unit transition "start_thinking" from "finished"


My unique user ID : 48602b66-4b04-11e5-89d0-8c89a50ca3d9

My crash :
release-453 (x64)
stonehearth/components/ai/execution_unit_v2.luac:60: bad unit transition “start_thinking” from “finished” in action fill the backpack with ground items
stack traceback:
radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
[C]: in function 'error’
stonehearth/components/ai/execution_unit_v2.luac:60: in function '_unknown_transition’
stonehearth/components/ai/execution_unit_v2.luac:85: in function '_start_thinking’
stonehearth/components/ai/execution_frame.luac:217: in function '_do_slow_thinking’
stonehearth/components/ai/execution_frame.luac:275: in function '_fn’
radiant/controllers/timer_controller.luac:32: in function 'fire’
radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
[C]: in function 'xpcall’
radiant/controllers/time_tracker_controller.luac:9: in function 'set_now’
radiant/controllers/time_tracker_controller.luac:20: in function 'increment_now’
radiant/modules/timer.luac:6: in function 'self’
radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
[C]: in function 'xpcall’
radiant/modules/events.luac:78: in function 'trigger’
radiant/modules/events.luac:97: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

So my people look crazy… take some loot at right and drop it at left… all become useless.
Another braking city.

Please stop add new stuff and correct the bug this game is unplayable.

I agree with you. I can’t save and nobody is lending a hand. On both Steam and on here. I’ve been waiting all night for a response.

ok the game now take full processor… the people don’t move like IDLE but have lot of work.

Conclusion your IA algo have like a infinit loop. I know is a Alpha early acess but this is too big! have you shame ;’(

I don’t understand anything you said.

I think what happened is you had a crash as an item was put into a chest. I don’t know if I am reading this right but I’m the best you got until help arrives.

So i hear is because the goblin honor token, but if i try to remove it :
release-453 (x64)
stonehearth/services/server/inventory/inventory.luac:248: cannot add ghost form (1570816 Goblin honor token (ghost)) to inventory
stack traceback:
stonehearth/components/ai/execution_frame.luac:667: in function <stonehearth/components/ai/execution_frame.luac:660>
[C]: in function 'error’
stonehearth/services/server/inventory/inventory.luac:248: in function '_check_if_valid_form’
stonehearth/services/server/inventory/inventory.luac:118: in function ‘add_item’
…tonehearth/components/storage/storage_component.luac:113: in function ‘add_item’
…arth/ai/actions/put_carrying_in_backpack_action.luac:14: in function 'call_fn’
stonehearth/components/ai/execution_unit_v2.luac:16: in function '_call_run’
stonehearth/components/ai/execution_unit_v2.luac:186: in function '_run_from_started’
stonehearth/components/ai/execution_unit_v2.luac:129: in function '_run’
stonehearth/components/ai/execution_frame.luac:450: in function <stonehearth/components/ai/execution_frame.luac:450>
[C]: in function ‘xpcall’

stonehearth/components/ai/execution_frame.luac:106: in function '_run’
stonehearth/components/ai/execution_frame.luac:349: in function <stonehearth/components/ai/execution_frame.luac:340>
[C]: in function 'xpcall’
stonehearth/components/ai/execution_frame.luac:669: in function '_protected_call’
stonehearth/components/ai/execution_frame.luac:351: in function 'run’
stonehearth/components/ai/ai_component.luac:129: in function '_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function 'xpcall’
stonehearth/services/server/threads/thread.luac:89: in function 'f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Sorry for the late reply. I hope you saw that this bug will be fixed by the next patch :sweat: :

However there are other things that can cause the error you posted, since it’s an AI issue.

What did you have in game? How many hearthlings? What were they doing? How many days in game and how many buildings did you have?