I’m also experiencing this issue.
I demolish and entire (but small) building and the destruction particle effects don’t disappear, even after a restart/reload the game.
Every time I load in the game I’m given 3 engine errors:
[details=Engine Error 1]release-687 (x64)
...onehearth/components/building/building_component.lua:727: attempt to index field 'entity' (a nil value)
stack traceback:
[C]: ?
...onehearth/components/building/building_component.lua:727: in function '_compute_total_structures'
...onehearth/components/building/building_component.lua:130: in function <...onehearth/components/building/building_component.lua:117>
[/details]
[details=Engine Error 2]release-687 (x64)
c++ exception: lua runtime error
stack traceback:
[/details]
[details=Engine Error 3]release-687 (x64)
...onehearth/components/building/building_component.lua:243: attempt to call method 'get_category' (a nil value)
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback'
radiant/modules/common.lua:248: in function 'get_category'
...onehearth/components/building/building_component.lua:243: in function 'get_floors'
...onehearth/components/building/building_component.lua:463: in function '_restore_terrain'
...onehearth/components/building/building_component.lua:497: in function 'fn'
radiant/controllers/nonpersistent_timer.lua:56: 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'
radiant/controllers/time_tracker_controller.lua:103: in function 'increment_now'
radiant/modules/timer.lua:13: 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>
[/details]
I would have uploaded my save-game file but I’'m a new user and I can’t do that, but is there though.
On a final note here, if there is a magical console command to reset particle effects that you (devs) can provide, that would be awesome.
Hope this helps.