Error when placing blue prints

Cannot create structures/buildings
When trying to build a blueprint an error message pops up and then only doors and windows are visible ONLY in build mode and nothing gets created.
Steps to reproduce:

  1. Opened Stonehearth.

  2. Loaded up save.

  3. Goes to place blueprint.

  4. Error message, code, unable to build.
    Expected Results:
    Hoping to created blueprint structure.
    Actual Results:
    Error message, cannot build.
    User ID: 27f4a1f8-9527-11e5-abb2-fcaa143620e2

    release-483 (x64)
    stonehearth/lib/build_util.luac:212: assertion failed!
    stack traceback:
    [C]: ?
    [C]: in function 'assert’
    stonehearth/lib/build_util.luac:212: in function 'unpack_entity_table’
    stonehearth/components/floor/floor_component.luac:33: 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:50: in function 'load_all_structures_from_template’
    stonehearth/lib/build_util.luac:170: in function 'restore_template’
    stonehearth/services/server/build/build_service.luac:314: in function 'build_template’
    stonehearth/services/server/build/build_service.luac:313: in function 'cb’
    stonehearth/services/server/build/build_service.luac:304: in function 'do_command’
    stonehearth/services/server/build/build_service.luac:313: in function <stonehearth/services/server/build/build_service.luac:312>

release-483 (x64)
c++ exception: lua runtime error
stack traceback:

release-483 (x64)
...hearth/services/server/build/build_undo_manager.luac:6: assertion failed!
stack traceback:
    [C]: ?
    [C]: in function 'assert'
    ...hearth/services/server/build/build_undo_manager.luac:6: in function 'begin_transaction'
    stonehearth/services/server/build/build_service.luac:303: in function 'do_command'
    stonehearth/services/server/build/build_service.luac:313: in function <stonehearth/services/server/build/build_service.luac:312>

Versions and Mods:
Release -483 Alpha 13
System Information:
Windows 7 Professional 64-bit (6.1, Build 7601)
4 CPUs ~3.7GHz
8192MB RAM
AMD Athlom ™ X4 840K Quad Processor
DirectX 11

hey there @Pringles, welcome to the discourse :smile:

was the template custom made by you, or one of the one of the “pre-made” ones?

1 Like

What do you mean by “custom template”?

was it a building you made, and then saved as a template for later use.

1 Like

Ah, yes it was, I made it before I had to go off and saved it and then used the blueprint and then it all happened.


alrighty, could you perhaps provide the template so i can test it out and see if its just a one time thing or perhaps a problem with the template?

if you’re playing through steam it should be located here,

C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_objects\stonehearth\building_templates

1 Like

should the original file be a notepad?

put the template (it should be a .json file) into a .zip, and then directly upload it to the discourse, you can do that by dragging and dropping or by using the upload button,

1 Like

should the original file be a notepad?

yep! and the files name should match what you named the blueprint in-game.

1 Like

Sorry, I had problems with making a .zip file since I normally use winrar
shifting sands small (3.0 KB)

1 Like

well i can confirm that the template gives an error and leaves only the doors/windows… i’ll check and see if for some reason its only your template, or if all custom templates bug out like that.

1 Like

Alright thanks for all of your help

1 Like

no problemo, thats why i stick around here.

i tested out a few different custom templates and they dont seem to be bugged… :confused:

and as far as i can tell your template is perfectly normal

1 Like

Must just be me then, thanks again for helping anyways! :smiley:

1 Like