Cannot save custom items, keep getting error when accessing build menu

Summary:
Tried to make a template (big one) and when I attempted to save it, it broke. When accessing build menu the error will repeat itself occasionally and templates will not save.

Steps to reproduce:

  1. Create Template

Expected Results:
Template is created
Actual Results:
Error when accessing creations
Notes:

Attachments:

Version Number and Mods in use:
release-701 (x64)
System Information:
release-701 (x64)
stonehearth/lib/build_util.lua:612: attempt to index local ‘template’ (a nil value)
stack traceback:
[C]: ?
stonehearth/lib/build_util.lua:612: in function 'get_custom_templates’
stonehearth/call_handlers/build_call_handler.lua:44: in function <stonehearth/call_handlers/build_call_handler.lua:43>

and

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

A post was merged into an existing topic: Templates not shown