Can't Make or Use Custom Blueprint

I booted the game when Steam was in offline mode, and I got the following error when I opened the custom blueprint tab:

release-763 (x64)
stonehearth/lib/build_util.lua:610: attempt to index local ‘template’ (a nil value)
stack traceback:
[C]: ?
stonehearth/lib/build_util.lua:610: in function 'get_custom_templates’
stonehearth/call_handlers/build_call_handler.lua:44: in function <stonehearth/call_handlers/build_call_handler.lua:43>

I can’t save any new blueprints or access my old blueprints. It didn’t fix itself when Steam was in online mode, and I verified the game cache through Steam with no luck. The folder for the blueprints (Stonehearth\saved_objects\stonehearth\building_templates) still has the files for my old blueprints in it, but no files for blueprints I attempted to save after getting this error. Any help is appreciated.

@Micro753, this is likely to be one single template that’s bugged. You could try moving all your templates to a separate folder and adding them back one by one (or in groups) until you find out which one is producing the error.
Deleting it usually solves the problem.