Luac:72 transition error

i actually didnt notice what this error does

develop-2611 (x64)stonehearth/components/ai/execution_unit_v2.luac:72: bad unit transition “set_think_output” from “starting” in action put restockable item into backpackstack 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>

Adding more detail as i just got the bug in Dev 2617.

Summary: Error appeared close to start of peaceful game after cutting down some trees

Steps to reproduce:

  1. Start peaceful game
  2. Set area to clear resources
  3. Place stockpile

Expected Results: Workers move wood and other resources to stockpile.

Actual Results: Workers unable to pickup resources.

Attachments: Lost error log in clipboard when copying template, restarting from save to see if I can reproduce again.

Versions and Mods: develop-2617 with debug tools installed

System Information: Windows 10 Pro 64 | Intel Core i5-3360M | 16 GB system memory | Nvidia NVS 5400m

Notes: @8BitCrab, can you update thread title to indicate bug still appears in Dev 2617?

Edit: Resumed playing after reloading save, unable to reproduce error after 1 hr+.

1 Like

sure thing… :smile:

1 Like