Summary: I had a game that I was playing in alpha 18 that I continued in alpha 19 on the dev branch. Since then I’ve encountered a problem where when the engineer goes to repair anything (traps, turrets, fence gates) he freezes after doing so. If I save and reload the engineer will start moving again, but as soon as he repairs anything else he will freeze requiring another save and reload. Here’s the error message:
develop-3169 (x64)
@stonehearth/components/ai/ai_component.lua:577: (3214137 Ollen Nelvin) has not yielded after 10 ai spins. Are they in a bad state? Last abort reason: destination (27588672 stonehearth:gizmos:critter_trap) is no longer valid at start.
stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:456: in function ‘verify’
stonehearth/components/ai/ai_component.lua:577: in function <stonehearth/components/ai/ai_component.lua:535>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:535: in function ‘_thread_main’
stonehearth/services/server/threads/thread.lua:273: in function <stonehearth/services/server/threads/thread.lua:270>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
stonehearth/services/server/threads/thread.lua:270: in function ‘f’
radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>
Steps to reproduce:
- have a trap/turret/gate damaged
- wait for the engineer to go repair it
- the engineer will stand idle until the game is saved and reloaded.
Expected Results:
The engineer should repair items and move on to other tasks
Actual Results:
The engineer freezes
Attachments:
stonehearth.log (22.8 KB)
Version Number and Mods in use:
Stonehearth 0.19.0 (develope 3169) x64 build