Error When Starting New Map and having "Storage filter defaults to None" selected with first stockpile

If you start a map having “Storage filters defaults to None” checked under Gameplay. Draw a stockpile and then change the filter to “All” it generates the error below. Happens every time. Also happened in the previous release.

develop-2617 (x64)
stonehearth/components/ai/execution_unit_v2.luac:72: bad unit transition “set_think_output” from “starting” in action put restockable item into backpack
stack traceback:
[C]: ?
[C]: in function 'error’
stonehearth/components/ai/execution_unit_v2.luac:72: in function '_unknown_transition’
stonehearth/components/ai/execution_unit_v2.luac:105: in function '_set_think_output’
stonehearth/components/ai/execution_unit_v2.luac:302: in function '?'
stonehearth/components/ai/execution_unit_v2.luac:18: in function 'set_think_output’
stonehearth/services/server/ai/compound_action.luac:95: in function '_set_think_output’
stonehearth/services/server/ai/compound_action.luac:77: in function '_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:80: in function 'think_progress_cb’
stonehearth/components/ai/execution_frame.luac:344: in function '_think_progress_cb’
stonehearth/components/ai/execution_frame.luac:654: in function ‘_set_state’

stonehearth/components/ai/execution_frame.luac:654: in function '_set_state’
stonehearth/components/ai/execution_frame.luac:410: in function '_unit_ready_from_thinking’
stonehearth/components/ai/execution_frame.luac:137: in function '_unit_ready’
stonehearth/components/ai/execution_unit_v2.luac:187: in function '_set_think_output_from_thinking’
stonehearth/components/ai/execution_unit_v2.luac:102: in function '_set_think_output’
stonehearth/components/ai/execution_unit_v2.luac:302: in function '?'
stonehearth/components/ai/execution_unit_v2.luac:18: in function 'set_think_output’
stonehearth/ai/actions/find_path_to_entity_type.luac:17: in function ‘solved_cb’
…th/components/pathfinder/shared_bfs_path_finder.luac:47: in function ‘_call_solved_cbs’
…th/components/pathfinder/shared_bfs_path_finder.luac:39: in function <…th/components/pathfinder/shared_bfs_path_finder.luac:36>

1 Like

I can confirm this bug.

2 Likes