After loading game save I get an engine error and game play slows down and becomes unplayable:
release-453 (x64)stonehearth/components/ai/ai_component.luac:58: attempt to index field ‘?’ (a nil value)stack traceback:
[C]: ?
stonehearth/components/ai/ai_component.luac:58: in function ‘remove_action’
stonehearth/services/server/ai/ai_injector.luac:33: in function <stonehearth/services/server/ai/ai_injector.luac:29>
[C]: in function ‘destroy’
…nents/equipment_piece/equipment_piece_component.luac:96: in function ‘_remove_ai’
…nents/equipment_piece/equipment_piece_component.luac:41: in function ‘unequip’
…hearth/components/equipment/equipment_component.luac:57: in function ‘unequip_item’
…hearth/components/equipment/equipment_component.luac:16: in function ‘_drop_equipment’
…hearth/components/equipment/equipment_component.luac:6: in function <…hearth/components/equipment/equipment_component.luac:6>
[C]: in function ‘destroy_entity’
radiant/modules/entities.luac:31: in function ‘destroy_entity’
…controllers/encounters/destroy_entity_encounter.luac:34: in function ‘_destroy_entity_with_effect’
…controllers/encounters/destroy_entity_encounter.luac:20: in function ‘_recursive_delete’
…controllers/encounters/destroy_entity_encounter.luac:16: in function ‘_delete_everything’
…controllers/encounters/destroy_entity_encounter.luac:3: in function ‘obj’
radiant/modules/events.luac:15: in function ‘self’
radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
[C]: in function ‘xpcall’
radiant/modules/events.luac:78: in function <radiant/modules/events.luac:70>
Starting from an earlier save does not cause this. For some reason I think it might have something to do with the scaffolding, but it happens when a hearthling joins the village
Here is the game save: https://www.dropbox.com/s/o2f8zlyafou39vs/1439936459861.rar?dl=0
fd8132e0-446a-11e5-8838-003067c92bea