Assertion failed in _destroy_injected_commands in buffs.lua

Summary: An Engine Error occurred.

Unknown reproduction steps.

release-701 (x64)[M]
stonehearth/components/buffs/buff.lua:339: assertion failed!
stack traceback:
	[C]: ?
	[C]: in function 'assert'
	stonehearth/components/buffs/buff.lua:339: in function '_destroy_injected_commands'
	stonehearth/components/buffs/buff.lua:98: in function <stonehearth/components/buffs/buff.lua:90>
	[C]: in function 'destroy'
	stonehearth/components/buffs/buff.lua:121: in function '_fn'
	radiant/controllers/timer_controller.lua:95: in function 'fire'
	radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	radiant/controllers/time_tracker_controller.lua:82: in function 'set_now'
	...hearth/services/server/calendar/calendar_service.lua:379: in function '_on_event_loop'
	...hearth/services/server/calendar/calendar_service.lua:37: in function 'instance'
	radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	radiant/modules/events.lua:285: in function 'trigger'
	radiant/modules/events.lua:398: in function '_trigger_gameloop'
	radiant/modules/events.lua:446: in function '_update'
	radiant/server.lua:61: in function <radiant/server.lua:58>

followed by a second engine error:

release-701 (x64)[M]
c++ exception: lua runtime error
stack traceback:
	[C]: in function 'destroy'
	stonehearth/components/buffs/buff.lua:121: in function '_fn'
	radiant/controllers/timer_controller.lua:95: in function 'fire'
	radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	radiant/controllers/time_tracker_controller.lua:82: in function 'set_now'
	...hearth/services/server/calendar/calendar_service.lua:379: in function '_on_event_loop'
	...hearth/services/server/calendar/calendar_service.lua:37: in function 'instance'
	radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	radiant/modules/events.lua:285: in function 'trigger'
	radiant/modules/events.lua:398: in function '_trigger_gameloop'
	radiant/modules/events.lua:446: in function '_update'
	radiant/server.lua:61: in function <radiant/server.lua:58>

Notes:

Attachments:
Save game a few minutes before the engine error occurred: Before error save
After error save 1486270940143.zip (9.4 MB)

Version Number and Mods in use:
version:

  • release-701 x64
    mods:
  • unit activity
  • unit health
  • canyon biome
  • grove biome
  • archipelago biome
  • du_tracker
  • hearthlings of many faces
  • workshop inventory display

System Information:

Apparently this was fixed a couple weeks ago but for some reason wasn’t merged to the release :sweat:

1 Like