Building not saving/building


Building not saving and building


I tried to copy a building and it broke and would not allow me to place it. It also isn’t building in game.

Steps to reproduce:

  1. Create a building as the desert people
  2. add walls to the interior
  3. put a roof on it
  4. save it
  5. try to place it again

Expected Results:

I thought it would copy my building and allow me to place it.

Actual Results:

Bugged out and I cannot place it from the saved buildings menu.



In this picture you can see on the left and right none of my custom building are being built. The one on the right is the one I’m having this bug with.

I cannot place anymore pictures but in the next few I would have shown the building not being able to be placed.
Versions and Mods:
Alpha 13

System Information:

develop-2720 (x64)
...nehearth/components/building/building_component.luac:250: assertion failed!
stack traceback:
	[C]: ?
	[C]: in function 'assert'
	...nehearth/components/building/building_component.luac:250: in function 'load_from_template'
	stonehearth/lib/build_util.luac:44: in function 'load_structure_from_template'
	stonehearth/lib/build_util.luac:48: in function 'load_all_structures_from_template'
	stonehearth/lib/build_util.luac:170: in function 'restore_template' in function '_restore_template' in function 'go'
	...rvices/client/build_editor/build_editor_service.luac:44: in function