Release-701 (x64): std::logic_error: 'invalid reference in native get_id'

release-701 (x64)
std::logic_error: 'invalid reference in native get_id’
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function 'get_id’
radiant/modules/entities.lua:308: in function 'get_world_grid_location’
stonehearth/ai/observers/open_space_observer.lua:101: in function '_estimate_open_space’
stonehearth/ai/observers/open_space_observer.lua:76: in function '_update’
stonehearth/ai/observers/open_space_observer.lua:64: 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>

Keep it up ya’ll… your doing a great job!

@Relyss, Do you even code bro?
Thx for reading :smile:

When did this error happen, @Maglor_NL? What was happening in-game?

If you have a savefile where this error appears, please upload it so that we can take a look.

1 Like

I was being attacked from two sides and pretty much being killed.
Was trying to select one of my soldiers and then this one popped up.
so it’s kinda hard to explain when it exactly happen…
there was a lot going on on that moment.
I do know that the “Town Alert” was active then.