Summary: I was making a custom building and went to save it with a custom name and then I got a large error report box: Unknown #21991 | C# - uPaste.me!
Mod edit: error from link
develop-2697 (x64)
std::logic_error: 'invalid reference in native get_id'
stack traceback:
[C]: ?
[C]: in function 'get_id'
stonehearth/lib/build_util.luac:204: in function 'pack_entity'
...uction_progress/construction_progress_component.luac:65: in function 'save_to_template'
stonehearth/lib/build_util.luac:71: in function 'save_entity_to_template'
stonehearth/lib/build_util.luac:79: in function 'save_all_structures_to_template'
stonehearth/lib/build_util.luac:79: in function 'fn'
stonehearth/lib/build_util.luac:28: in function 'for_each_child'
stonehearth/lib/build_util.luac:79: in function 'save_all_structures_to_template'
stonehearth/lib/build_util.luac:79: in function 'fn'
stonehearth/lib/build_util.luac:28: in function 'for_each_child'
stonehearth/lib/build_util.luac:79: in function 'save_all_structures_to_template'
stonehearth/lib/build_util.luac:160: in function 'save_template'
stonehearth/call_handlers/build_call_handler.luac:10: in function <stonehearth/call_handlers/build_call_handler.luac:9>
Steps to reproduce:
- Make a custom building
- Try to save it (Optionally name it?)
Expected Results: Error Free save
Actual Results: Got the above error( upaste link )
Versions and Mods: Alpha 13
System Information: Windows 10 x64bit