Frozen AI Villager Bug

**Summary:**Villager freezes when performing a task such as fighting, picking up and item or eating

Steps to reproduce:

  1. Let the game run its course
  2. approximately 25 villagers in, mid-late game one of my villagers freeze.
  3. Profit?

Expected Results: Hearthling completes its task

Actual Results: Unable to interact with villager other than demote and change name, unit is selectable but lacks all AI and seems to be invincable (does not die from lack of wound treatment)


A console dump ,pretty sure its related.

develop-2865 (x64)
No matching overload found, candidates: void __add(lua_State*,Point3 const&,Point3 const&)
stack traceback:
	[C]: ?
	[C]: ?
	...h/services/server/town_patrol/patrollable_object.lua:47: in function 'get_centroid'
	.../services/server/town_patrol/town_patrol_service.lua:123: in function '_calculate_patrol_score'
	.../services/server/town_patrol/town_patrol_service.lua:102: in function '_get_object_to_patrol'
	.../services/server/town_patrol/town_patrol_service.lua:66: in function 'get_patrol_route'
	stonehearth/ai/actions/get_patrol_route_action.lua:59: in function '_check_for_patrol_route'
	stonehearth/ai/actions/get_patrol_route_action.lua:22: in function <stonehearth/ai/actions/get_patrol_route_action.lua:17>
	[C]: in function 'start_thinking'
	...tonehearth/services/server/tasks/run_task_action.lua:66: in function '_start_stop_thinking'
	...tonehearth/services/server/tasks/run_task_action.lua:125: in function <...tonehearth/services/server/tasks/run_task_action.lua:119>
	[C]: ?
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:538: in function <stonehearth/components/ai/ai_component.lua:522>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:243: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:522: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:243: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:246: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

Not sure if this has anything to do with This topic here
Here are some screenshots
Frozen Villager
Health Reduced over time due to battle damage and lack of treatment
Enemies completely ignore the hearthling

Version Number and Mods in use: Dev-2865 (x64) Alpha 15 unstable

System Information:
Operating System
Windows 7 Home Premium 64-bit SP1
Intel Core i5 2500 @ 3.30GHz
Sandy Bridge 32nm Technology
16.0GB Dual-Channel DDR3 @ 668MHz (9-9-9-24)
ASUSTeK Computer INC. P8H67-M PRO (LGA1155)
JC151A (1024x768@60Hz)
2367 (1920x1080@60Hz)
HP w1907 (1440x900@60Hz)
2048MB ATI AMD Radeon HD 7800 Series (Sapphire/PCPartner)
465GB Seagate ST3500312CS ATA Device (SATA)
298GB Generic External USB Device (USB (SATA))
Optical Drives
No optical disk drives detected
Plantronics GameCom

1 Like

reloaded the game today after the latest 2867 build to find the villager dead, although after renaming the villager the tombstone is blank with just β€œRIP” written