Engine error when removing stand alone walls

develop-3002 (x64)
stonehearth/lib/player/territory.lua:89: attempt to call method ‘destroy’ (a nil value)
stack traceback:
[C]: in function 'destroy’
stonehearth/lib/player/territory.lua:89: in function ‘remove_entity’
…nehearth/services/server/terrain/terrain_service.lua:161: in function <…nehearth/services/server/terrain/terrain_service.lua:149>

Hello @Freedom . Could you give some more information about your error (ideally, uploading the save where the bug happens) ?

You mean removing the stand-alone walls while being in design mode?
Were the walls touching some terrain or other object?
Did you remove them using undo or the eraser tool?

The bug resolved itself, but it was just interesting because I’ve never seen it before. Though to be honest I don’t normally use free standing walls.

I removed them with the remove function the one that comes up after you press finish editing, some of the walls were connected to a cliff but most of them were free standing.

I’ve been trying to recreate it to get a save but can’t :disappointed:

1 Like