Going to try and get some screenshots and details.
What’s happening is that at around 19 hearthlings I start seeing significant performance issues. Originally I assumed it was engine or a slow memory leak. Turns out the game is spawning a 2nd instance of stonehearth.exe and rapidly going to high CPU / Memory.
- The below error seems to kick it off:
radiant/modules/events.luac:40: assertion failed!
[C]: in function 'assert’
radiant/modules/events.luac:40: in function ‘trigger_async’
…/components/combat_state/combat_state_component.luac:85: in function 'remove_attack_leash’
stonehearth/services/server/unit_control/party.luac:95: in function '_update_leashes’
stonehearth/services/server/unit_control/party.luac:76: in function '_update_party’
stonehearth/services/server/unit_control/party.luac:16: in function <stonehearth/services/server/unit_control/party.luac:13>
c++ exception: lua runtime error
Not long after starting I see a 2nd Stoneharth process start
What happens next is the CPU and Memory from both Stonehearth processes climbs quickly (5-10mins) and reaches max CPU and high memory
The UI stops responding, though the game continues to play out. I can click on the characters but I can’t interact with the UI at all or the menu system.
This is the end state, I am not longer able to control the game, but I can move the camera around (with lag) and click on objects. I am not able to interact with them in any way.
When ending Stoneheath from right clicking on the task bar close window the 2nd Stonehearth process remains active consuming both CPU and Memory.