Summary: I’ve made a building that generates an error when placed. Not only that, but the required items to make it seems to change before and after placement. It’s a watch tower, and I’ll try to link the file to it somewhere.
Steps to reproduce:
- Place watchtower in world.
- Feel the pain and sadness of regret.
- Get an error message and feel heartbroken.
Expected Results:
My awesome watch tower would be placed in the world.
Actual Results:
I get an error that’s less than awesome, and my watch tower is not placed in the world.
Notes:
One is for the attached building file, one is for the picture. They’re taken from my buildings_template folder.
Specific error, copied to clipboard, as well as a picture of what happens.
http://puu.sh/nIPGX/dfac147a70.jpg
release-529 (x64)
...onehearth/components/building/building_component.lua:780: attempt to index local 'entry' (a nil value)
stack traceback:
[C]: ?
...onehearth/components/building/building_component.lua:780: in function '_add_dependency'
...onehearth/components/building/building_component.lua:1059: in function 'wire_dependency'
...onehearth/components/building/building_component.lua:1075: in function 'wire_dependencies'
...onehearth/components/building/building_component.lua:1084: in function '_compute_spatial_dependencies'
...onehearth/components/building/building_component.lua:932: in function '_compute_dependencies'
...onehearth/components/building/building_component.lua:306: in function 'set_active'
stonehearth/services/server/build/build_service.lua:95: in function 'set_active'
stonehearth/call_handlers/build_call_handler.lua:19: in function <stonehearth/call_handlers/build_call_handler.lua:18>
release-529 (x64)
c++ exception: lua runtime error
stack traceback:
Attachments:
https://drive.google.com/file/d/0B-N1AiLmVKKGY1Vtc0FKdm9WZkU/view?usp=sharing
https://drive.google.com/file/d/0B-N1AiLmVKKGQzNOQWFaS1VyZjA/view?usp=sharing
Version Number and Mods in use:
2881, or 529. One of the two. It’s steam latest as of 03/15/2016.
System Information:
Super fancy.