Building Templates Error

Summary:

I did not have this problem until it occurred today. I was downloading many building templates because I was interested in seeing different designs, and so I did but I stumbled upon three error reports. Opening the Building Templates menu would give me these three engine errors:

release-790 (x64)
c++ exception: wide utf character (hilo)
stack traceback:
[C]: in function ‘read_object’
radiant/modules/mods.lua:25: in function ‘read_object’
stonehearth/lib/build_util.lua:616: 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-790 (x64)
stonehearth/lib/build_util.lua:617: attempt to index local ‘template’ (a nil value)
stack traceback:
[C]: ?
stonehearth/lib/build_util.lua:617: 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-790 (x64)
c++ exception: lua runtime error
stack traceback:

Other than this, the building templates would not show in-game, however, are still shown in the building_templates folder and this error happens in any world I play in. The default templates work perfectly.

Steps to reproduce:

  1. Download a lot of building templates [inculding the json and the png file] and putting them into the building_templates folder
  2. Open the game
  3. Open Place Building Menu

Expected Results:
Expected result would be to show my entire list of building templates that it would work without any errors popping up

Actual Results:
Does not show building templates and gives three engine errors shown above

Notes:
I uninstalled and reinstalled - did not prove to be a fix.

Attachments:

Version Number and Mods in use:
Alpha 24.10, radiant mod, rayyas children, stoneheart
System Information:

The error message specifies that you’re using release-790, which is Alpha 23. Perhaps you are trying to load a template from Alpha 24, which is using the new building system?

I have templates that I’ve been using since 2016, they’ve been loading perfectly in Alpha 24.

It seems that is the issue @max99x, I will delete those templates.