Error when building slab as roof

Got this error while i was trying to build a slag as roof upon some pillars

Like this

Then this happened

Here is the error

develop-2697 (x64)
…nehearth/components/building/building_component.luac:124: attempt to index local ‘entity’ (a nil value)
stack traceback:
radiant/modules/events.luac:84: in function <radiant/modules/events.luac:81>
…nehearth/components/building/building_component.luac:124: in function ‘_trace_entity’
…nehearth/components/building/building_component.luac:37: in function ‘_restore_structure_traces’
…nehearth/components/building/building_component.luac:17: in function ‘obj’
radiant/modules/events.luac:44: in function ‘instance’
radiant/modules/events.luac:98: in function <radiant/modules/events.luac:96>
[C]: in function ‘xpcall’
radiant/modules/events.luac:96: in function <radiant/modules/events.luac:86>

6 posts were merged into an existing topic: Building error (undo or console delete related)