Summary:
Tried to build a template made with the new builder. The template was made on another save that crashed randomly after refusing to build the same template, but with a “red roof” instead of a proper error pop-up.
The error pop-up appeared as soon as I pressed the build button.
[“Update”]: It Seems the error is caused by the door being build on the floor. When trying to place a door on the editing the door “defaults” too the ground of the world, not the ground of the building. Tried to rise the door one square but this building still bugged. Created a new one that was built normally.
Steps to reproduce:
Trying to build a template from another save
positioning the building template and click build.
Expected Results:
Expecting to build it normally.
Actual Results:
Engine Error popping up on the screen, while the game continues.
Notes:
release-815 (x64)
stonehearth/components/building2/building.lua:626: variable ‘f’ is not declared
stack traceback:
radiant/modules/commons.lua:53: in function ‘report_traceback’
radiant/modules/commons.lua:64: in function <radiant/modules/commons.lua:58>
[C]: in function ‘error’
radiant/lib/strict.lua:31: in function <radiant/lib/strict.lua:29>
stonehearth/components/building2/building.lua:626: in function ‘method’
radiant/modules/events.lua:81: in function ‘instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/events.lua:375: in function <radiant/modules/events.lua:374>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:374: in function ‘_fire_async_triggers’
radiant/modules/events.lua:452: in function ‘_update’
radiant/server.lua:67: in function <radiant/server.lua:64>
Attachments:
Crash log from the previous save where the template was build: Stonehearth Crash.7z (134.9 KB)
Link to the uploaded video of the Engine Error. Video is 5:44 long, error pop-up on 5:10: https://youtu.be/Pbyaxf-s4pE
Version Number and Mods in use:
New_Builder test version from the following link: New Builder
No mods being used.
Summary:
When clicking the build botton, the following error pops up, and the building process doesn’t start
release-815 (x64)[M]
stonehearth/components/building2/building.lua:626: variable ‘f’ is not declared
stack traceback:
radiant/modules/commons.lua:53: in function ‘report_traceback’
radiant/modules/commons.lua:64: in function <radiant/modules/commons.lua:58>
[C]: in function ‘error’
radiant/lib/strict.lua:31: in function <radiant/lib/strict.lua:29>
stonehearth/components/building2/building.lua:626: in function ‘method’
radiant/modules/events.lua:81: in function ‘instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/events.lua:375: in function <radiant/modules/events.lua:374>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:374: in function ‘_fire_async_triggers’
radiant/modules/events.lua:452: in function ‘_update’
radiant/server.lua:67: in function <radiant/server.lua:64>
Steps to reproduce:
load attached save file
click build
unpause the game
error pops up (also top part of roof says it is unbuildable)
Expected Results:
Everything starts building
Actual Results:
Error, building not starting, reclicking the build button does nothing
Imported template from other world. Placed. Eddied to add more windows. Hit Build. Unpaused and error occurred. Now the game will not build this building and the build button goes back to colored in instead of grayed out. Image 2 appears whenever the save is loaded now.
2 Errors
release-815 (x64)
radiant/controllers/persistent_job.lua:23: assertion failed!
stack traceback: [C]: ? [C]: in function ‘assert’ radiant/controllers/persistent_job.lua:23: in function ‘?’ radiant/lib/unclasslib.lua:381: in function <radiant/lib/unclasslib.lua:380>
release-815 (x64)
c++ exception: lua runtime error
stack traceback:
Initial Error
release-815 (x64)
stonehearth/components/building2/building.lua:626: variable ‘f’ is not declared
stack traceback: radiant/modules/commons.lua:53: in function ‘report_traceback’ radiant/modules/commons.lua:64: in function <radiant/modules/commons.lua:58> [C]: in function ‘error’ radiant/lib/strict.lua:31: in function <radiant/lib/strict.lua:29> stonehearth/components/building2/building.lua:626: in function ‘method’ radiant/modules/events.lua:81: in function ‘instance’ radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285> [C]: in function ‘xpcall’ radiant/modules/commons.lua:73: in function ‘xpcall’ radiant/modules/events.lua:285: in function ‘trigger’ radiant/modules/events.lua:375: in function <radiant/modules/events.lua:374> [C]: in function ‘xpcall’ radiant/modules/commons.lua:73: in function ‘xpcall’ radiant/modules/events.lua:374: in function ‘_fire_async_triggers’ radiant/modules/events.lua:452: in function ‘_update’ radiant/server.lua:67: in function <radiant/server.lua:64>
The second error (“Initial Error”) is already fixed in our internal branch, I think it will prevent building any template, hopefully we’ll push the fix soon.
The other error is new though. Will try to repro and see if it happens on its own or if it’s caused by the initial error.
I decided to try something a little bit ambitious and make a large inn/tavern. I ran into an error when trying to get it built.
release-815 (x64)[M]
stonehearth/components/building2/building.lua:626: variable ‘f’ is not declared
stack traceback:
radiant/modules/commons.lua:53: in function ‘report_traceback’
radiant/modules/commons.lua:64: in function <radiant/modules/commons.lua:58>
[C]: in function ‘error’
radiant/lib/strict.lua:31: in function <radiant/lib/strict.lua:29>
stonehearth/components/building2/building.lua:626: in function ‘method’
radiant/modules/events.lua:81: in function ‘instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/events.lua:375: in function <radiant/modules/events.lua:374>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:374: in function ‘_fire_async_triggers’
radiant/modules/events.lua:452: in function ‘_update’
radiant/server.lua:67: in function <radiant/server.lua:64>
I made a building and try to build it. Got an error and my workers wont start building.
Steps to reproduce:
Expected Results:
Actual Results:
release-815 (x64)[M]
stonehearth/components/building2/building.lua:626: variable ‘f’ is not declared
stack traceback:
radiant/modules/commons.lua:53: in function ‘report_traceback’
radiant/modules/commons.lua:64: in function <radiant/modules/commons.lua:58>
[C]: in function ‘error’
radiant/lib/strict.lua:31: in function <radiant/lib/strict.lua:29>
stonehearth/components/building2/building.lua:626: in function ‘method’
radiant/modules/events.lua:81: in function ‘instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/events.lua:375: in function <radiant/modules/events.lua:374>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
radiant/modules/events.lua:374: in function ‘_fire_async_triggers’
radiant/modules/events.lua:452: in function ‘_update’
radiant/server.lua:67: in function <radiant/server.lua:64> Notes:
Attachments:
Version Number and Mods in use:
Unstable builder version buidl 815
Yang & co’s mods (of which i did not use anything in this building)