Unknown C++ exception - in function 'add_unique_cube'

Attempting to build the following floor plan results in a crash to desktop when attempting to ‘grow roof’ or alter the slope direction.

The following error message is displayed in Windows Explorer

‘Assertion Failed:

On two occasions in reproducing the bug, the game did not crash and spewed the following report

Bug is only present in D1633; the floor plan is fine in R144.


well, that’s a fairly specific bug you’ve found… nice work @jtomkinson90:+1:

actually this has happened to me three times and it appears to be the same error, Problem I am having is I have only saw the bug error pop up once. The other two times I heard the chime, CTD and nothing was there. It seems that even after a Save or go back in the game will not relaunch. The one time I was able to build the house fully one of the workers got stuck so I added a Ladder and Oh my that game DID NOT like that at all. Right before the game crashed it looked like the workers were taking down the house. I’m trying to reproduce this but the little guy got caught sleeping on the roof while the others took the scaffolding down. its a timing issue and kinda hard to reproduce.

After further investigation into this bug I have concluded that all floor plans that include a section that is only one tile wide will cause the game to crash.



The ‘b’ floor tiles are causing the crash. Extending the ‘b’ tiles to be two rows/columns deep would not result in a crash.

Bug has persisted throughout [1633] to [1658] and [1665].

thanks for the follow-up and the detailed repro steps! :+1:

Hello everyone.
My bug is very similar but I don’t know what provocated it.The game completely freeze after this.

Here is my unique steam id: d62fdd1e-99e1-11e5-91f8-8c89a50c9a8b
I send you the exception that has been raised by the game:

develop-2733 (x64)
Unknown C++ exception
stack traceback:
[C]: ?
[C]: in function ‘add_unique_cube’
…arth/components/fabricator/fabricator_component.luac:333: in function <…arth/components/fabricator/fabricator_component.luac:314>
[C]: in function ‘modify’
…arth/components/fabricator/fabricator_component.luac:314: in function ‘_update_fabricator_region’
…arth/components/fabricator/fabricator_component.luac:363: in function ‘update_blueprint_region’
…arth/components/fabricator/fabricator_component.luac:366: in function ‘_trace_blueprint_and_project’
…arth/components/fabricator/fabricator_component.luac:105: in function ‘_initialize_fabricator’
…arth/components/fabricator/fabricator_component.luac:30: 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>

In the same way than jtomkinson90, the error is also raised in Windows explorer

Sorry for my english.
Kind regards

Hey there @SaiyaDjinn, thanks for the report, and welcome to the Discourse! Just to double check, you received this bug while building?

Hi. Yes, I was designing a new building. I have erased the save of this game so I can’t reproduce the scheme I was doing.

No worries about the lost save. I am going to ping @Albert and @not_owen_wilson so they can see this new report, for a what appears fairly old bug. Thanks for digging it up!