# \[Bug\] Hearthlings stay idle

**URL:** <https://discourse.stonehearth.net/t/bug-hearthlings-stay-idle/33466>\
**Category:** Bug Reports\
**Tags:** ai, a22r763\
**Created:** [January 26, 2018, 3:26am UTC](https://discourse.stonehearth.net/t/bug-hearthlings-stay-idle/33466 "2018-01-26T03:26:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Schwender\_exe](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/schwender_exe/32/59885_2.png) [@Schwender\_exe](https://discourse.stonehearth.net/u/Schwender_exe)\
**Post date:** [January 26, 2018, 3:26am UTC](https://discourse.stonehearth.net/t/bug-hearthlings-stay-idle/33466/1 "2018-01-26T03:26:07Z")

</div>

Summary:  
after a while of playing I’ve encountered a bug where idle hearthlings stay idle even if there’s work. the bottom right bar was normal (only difference being it was almost entirely green). after saving and re-loading the save they’re back to normal for a bit but then they eventually stay idle  
Steps to reproduce:  
just play the game and eventually it’ll happen.  
What I think is going on:  
I think it has something with the ai ‘locking up’ and somehow staying idle, I personally would probably fix this by having a timer on each hearthling and making it if they’re idle for too long they automatically reset their own ai.

I’m playing version Alpha 22.5 with no mods

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [January 26, 2018, 1:49pm UTC](https://discourse.stonehearth.net/t/bug-hearthlings-stay-idle/33466/2 "2018-01-26T13:49:01Z")

</div>

Welcome to the forum, @Schwender_exe 🙂

Could you upload that savefile so that we can take a look at it?

---

<div class="post-metadata">

**Author:** ![Schwender\_exe](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/schwender_exe/32/59885_2.png) [@Schwender\_exe](https://discourse.stonehearth.net/u/Schwender_exe)\
**Post date:** [January 26, 2018, 2:06pm UTC](https://discourse.stonehearth.net/t/bug-hearthlings-stay-idle/33466/3 "2018-01-26T14:06:55Z")

</div>

I’m not sure how to upload a save, is it the metadata.json? because it won’t let me upload the entire file

---

<div class="post-metadata">

**Author:** ![Relyss](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/relyss/32/41785_2.png) [@Relyss](https://discourse.stonehearth.net/u/Relyss)\
**Post date:** [January 26, 2018, 2:30pm UTC](https://discourse.stonehearth.net/t/bug-hearthlings-stay-idle/33466/4 "2018-01-26T14:30:08Z")

</div>

Oops, forgot the detailed instructions:

1. Find the save folder for the saves you wish to upload. By default, they are located in `C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_games` (assuming a default Steam install).
2. Zip the folder.
3. Right click the folder (should be a long set of numbers).
4. Left click on `Send to` in the menu that appears.
5. Left click on `Compressed (Zipped) folder).
6. _(Optional)_ Rename the folder to something different than the default set of numbers.
7. Upload the save.
8. If the zip is less than 10 MB, you can upload it directly. Either use the upload button or drag and drop it into the compose window,
9. If larger than 10 MB, upload it to a cloud storage site like Dropbox, Google Drive, File Dropper, etc. and post the sharing link here.

So each savefile is a folder that contains 4 files.

---

<div class="post-metadata">

**Author:** ![Schwender\_exe](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/schwender_exe/32/59885_2.png) [@Schwender\_exe](https://discourse.stonehearth.net/u/Schwender_exe)\
**Post date:** [January 26, 2018, 2:37pm UTC](https://discourse.stonehearth.net/t/bug-hearthlings-stay-idle/33466/5 "2018-01-26T14:37:19Z")

</div>

thanks! I’ll send both of my current saves because it happened on both of them.

---

<div class="post-metadata">

**Author:** ![Yosmo78](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.stonehearth.net/yosmo78/32/23157_2.png) [@Yosmo78](https://discourse.stonehearth.net/u/Yosmo78)\
**Post date:** [May 18, 2018, 5:26am UTC](https://discourse.stonehearth.net/t/bug-hearthlings-stay-idle/33466/6 "2018-05-18T05:26:25Z")

</div>

Occuring to me in the latest stonehearth build, in a multiplayer game as the host.:

release-843 (x64)  
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution\_unit.cpp:220  
bad unit transition “set\_think\_output” from “starting” in action pickup item type  
Culprit:  
frame: stonehearth:top  
unit: human work dispatcher  
compound: human work dispatcher  
frame: stonehearth:work  
unit: human simple labor dispatcher  
compound: human simple labor dispatcher  
frame: stonehearth:simple\_labor  
unit: restock  
task\_group: restock  
frame: task\_group:1254  
unit: TASKstonehearth:restock\_storage  
task: TASKstonehearth:restock\_storage  
frame: stonehearth:restock\_storage  
unit: restock storage  
compound: restock storage  
frame: stonehearth:put\_restockable\_item\_into\_backpack  
unit: find and put item into backpack  
compound: find and put item into backpack  
frame: stonehearth:pickup\_item\_type  
unit: pickup item type  
stack traceback:  
[C]: ?  
[C]: in function ‘set\_think\_output’  
…ehearth/ai/actions/find\_path\_to\_reachable\_entity.lua:68: in function ‘cb’  
stonehearth/components/pathfinder/astar\_search.lua:131: in function ‘\_on\_solved’  
stonehearth/components/pathfinder/astar\_search.lua:99: in function \<stonehearth/components/pathfinder/astar\_search.lua:98\>

world download:  
[1526620867461.zip](https://discourse.stonehearth.net/uploads/short-url/yLqD53Krr0pZIILO6X8tYqE37Br.zip) (3.9 MB)

log:  
[stonehearth.zip](https://discourse.stonehearth.net/uploads/short-url/dn3yjwxqwDW71y5yosX2Tvo22YP.zip) (436.0 KB)
