Scadffolding is broken when Save or Relog (r663)

Summary:

Perhaps, they are somethings destructive initialization about loading or saving player’s settings.

release-663 (x64)[M]
stonehearth/components/scaffolding/scaffolding.lua:135: attempt to call method 'get_blueprint_region' (a nil value)
stack traceback:
	[C]: in function 'get_blueprint_region'
	stonehearth/components/scaffolding/scaffolding.lua:135: in function '_add_region_trace'
	stonehearth/components/scaffolding/scaffolding.lua:119: in function <stonehearth/components/scaffolding/scaffolding.lua:106>

My environment has been keeping occurs this log. But, maybe I’m playing with ignoring this error. :sunglasses:

Steps to reproduce:
Sorry, I don’t know. However, I wrote these steps cause this situation.

  1. Create new world (Rayya’s Children & Desert biome & Normal mode)
  2. Playing some hours with Auto Saving
  3. Save and Shutdown when Game running become so slow as 1 or 2 fps :unamused:
  4. Reboot and Relog to manual saved data.

Notes:
For now, I’ve reported stacktrace.

Attachments:
I want to suggest other issue. Support Fix Screen Size or UI Scale Settings for High density display (My SurfaceBook has 3000 * 2000 px with 267ppi. Thus I can’t read text decause discription text UIs are too small…) :sweat:

Small Window Size : Average from 20 to 30 fps
Full Screen (3000x2000) : Less than 8 fps

Version Number and Mods in use:
Ver : Alpha 18 release 663 (x64) M
Mod : Stonehearth 0.18.0 Japanese localization

System Information:
OS : Windows10 Pro
CPU : Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz, 2808 Mhz
GPU : NVIDIA GeForce GPU + Intel(R) HD Graphics 520
RAM : 16GB
Display: 3000 x 2000 (SurfaceBook)

Welcome to the forum, @VoQn :smile:

Could you upload your savefile where the error appears after loading?

To upload a save, locate the folder in
C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_games (assuming a default Steam install), zip the individual save’s folder (not the entire saved_games folder), and upload it. If the *.zip is less than 10 MB, feel free to upload it directly to the Discourse. If larger, please upload it to a cloud storage site like Dropbox, Google Drive, File Dropper, etc. and post the sharing link here.

You might want to comment on this suggestion thread for that:

I wonder why is it that you have so few fps :confused:
Was the game slow even at daytime? If you have enabled all the graphic settings at max, it might cause lag at the night if you have many lamps in your buildings.

2 Likes

I got that issue too.

somehow slabs are not placed neither.

Savefile

Part 1

    release-663 (x64)stonehearth/lib/build_util.lua:361: assertion failed!stack traceback:
	radiant/modules/common.lua:237: in function 'report_traceback'
	radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
	[C]: in function 'assert'
	stonehearth/lib/build_util.lua:361: in function 'can_start_blueprint'
	...earth/components/fabricator/fabricator_component.lua:816: in function '_start_project'
	...earth/components/fabricator/fabricator_component.lua:605: in function '_updates_state'
	...earth/components/fabricator/fabricator_component.lua:594: in function 'obj'
	radiant/modules/events.lua:83: in function 'instance'
	radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	radiant/modules/events.lua:285: in function 'trigger'
	radiant/modules/events.lua:398: in function '_trigger_gameloop'
	radiant/modules/events.lua:446: in function '_update'
	radiant/server.lua:62: in function <radiant/server.lua:58>

Part 2

release-663 (x64)…hearth/components/scaffolding/scaffolding_region.lua:692: assertion failed!stack traceback:
radiant/modules/common.lua:237: in function ‘report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
[C]: in function ‘assert’
…hearth/components/scaffolding/scaffolding_region.lua:692: in function ‘_set_scaffolding_self_destructed’
…hearth/components/scaffolding/scaffolding_region.lua:600: in function ‘_remove_dead_dependencies’
…hearth/components/scaffolding/scaffolding_region.lua:578: in function ‘update_anti_dependents’
stonehearth/components/scaffolding/scaffolding.lua:449: in function ‘_process_self_destruct_changes’
stonehearth/components/scaffolding/scaffolding.lua:409: in function ‘fn’
radiant/controllers/nonpersistent_timer.lua:56: in function ‘fire’
radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
radiant/controllers/time_tracker_controller.lua:103: in function ‘increment_now’
radiant/modules/timer.lua:13: in function ‘instance’
radiant/modules/events.lua:291: in function <radiant/modules/events.lua:285>
[C]: in function ‘xpcall’
radiant/modules/common.lua:257: in function ‘xpcall’
radiant/modules/events.lua:285: in function ‘trigger’
radiant/modules/events.lua:398: in function ‘_trigger_gameloop’
radiant/modules/events.lua:446: in function ‘_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

@Relyss Thank you. I’ll send savefile. Here.

SaveFile (OneDrive)

2 Likes

i had made a structure that was gonna be the start of a castle but when i loaded my game again i got this bug.

release-663 (x64)
stonehearth/components/scaffolding/scaffolding.lua:135: attempt to call method ‘get_blueprint_region’ (a nil value)
stack traceback:
[C]: in function 'get_blueprint_region’
stonehearth/components/scaffolding/scaffolding.lua:135: in function '_add_region_trace’
stonehearth/components/scaffolding/scaffolding.lua:119: in function <stonehearth/components/scaffolding/scaffolding.lua:106>

and this one

release-663 (x64)
c++ exception: lua runtime error
stack traceback:

i will report more if i find more bugs :slight_smile:

ps. love the game :smiley:

EDIT: saving the blueprint and then removed it and placed it agian worked.

Welcome to the forum, @Traxxtronic :slight_smile:

Glad you found a workaround for this.

Do you still have a savefile that throws that error when loaded? I think I’ve seen it on some other reports, but it’d be good for the devs to have saves to reproduce this kind of bugs.

To upload a save, locate the folder in
C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_games (assuming a default Steam install), zip the individual save’s folder (not the entire saved_games folder), and upload it. If the *.zip is less than 10 MB, feel free to upload it directly to the Discourse. If larger, please upload it to a cloud storage site like Dropbox, Google Drive, File Dropper, etc. and post the sharing link here.

give me 10 min :smiley: i will try to locate the savefile ^^

http://www.filedropper.com/stonehearthsavefile

here is a link :slight_smile: i hope its the right save file :slight_smile: also the error shows right when you load the save file .) i hope it helps ^^

Hello , recently I started a very big project in my Stone Hearth game.
I found a problem that if I already started a building and then start another one while building that one , the Hearthlings don’t tend to finish either of the buildings.
Also the big project consists of multiple already made building out of the prefabs given to the players, I only connected them with roads and started building them. However in doing so the Hearthlings never finished any of the structures and only started a few of them and left scafolding on the half built buildings.

  1. Tried putting town on alert mode , and sending them back to building.
  2. Restarted the game.
    3)Tried making multiple more materials then required.
    4)Also tried pausing and unpausing the building.

Thought they would go back to building.

Nothing happened, only got three separate errors.

error 1:

release-663 (x64)stonehearth/components/scaffolding/scaffolding.lua:135: attempt to call method ‘get_blueprint_region’ (a nil value)stack traceback:
[C]: in function 'get_blueprint_region’
stonehearth/components/scaffolding/scaffolding.lua:135: in function '_add_region_trace’
stonehearth/components/scaffolding/scaffolding.lua:119: in function <stonehearth/components/scaffolding/scaffolding.lua:106>

error 2:

release-663 (x64)c++ exception: lua runtime errorstack traceback:

error 3:

release-663 (x64)stonehearth/components/scaffolding/scaffolding.lua:279: attempt to call method ‘get_blueprint_region’ (a nil value)stack traceback:
[C]: in function 'get_blueprint_region’
stonehearth/components/scaffolding/scaffolding.lua:279: in function '_compute_total_scaffolding_region’
stonehearth/components/scaffolding/scaffolding.lua:295: in function 'recalculate_scaffolding_blueprint’
stonehearth/components/scaffolding/scaffolding.lua:152: in function '_add_region_trace’
stonehearth/components/scaffolding/scaffolding.lua:119: in function <stonehearth/components/scaffolding/scaffolding.lua:106>

Alpha 18, no mods in use.

A few things you may want to check before giving up on it, then just a few things to note.

Always check extra wood supplies for scaffolding.

But the more likely case:
I myself have been getting more and more adventurous with buildings but in doing so and talking to one of the developers, if a building has too many slabs it just won’t build it all the way.
Slabs just simply aren’t robust enough at this point in time, they’re inconsistent and memory intensive also.

Try to use as much walls and floors as possible instead of slabs, and try to break it up into a few separate buildings if possible.

1 Like

Thanks I appreciate the reply!

I managed to get one of the buildings done, by simply mining the rocks
touching the base.
However the rest of the buildings do not consist of any slabs and only
walls,doors,windows etc. The problem is they just don’t build at all they
ignore the rest of the plans completly. I tried making more of the required
materials and more wood for scafolding, but its still doesn’t fix the
problem?

Do you have an example of the buildings? Are they on awkward surfaces?
I’ve had a few problems in the past on multi-leveled buildings. (buildings that have foundations on different levels)
There are some problems with building lately I’ve found, thankfully had some help.
May just have to wait until a dev takes a look at the logs and/or the files.

Yeah I thought that may have been the problem at first and moved the
building to a flat surface and still got the same problem. The buildings
are all from the already built structures(clay) they give you, they’re all
three blocks away from each other and connected by stone roads. I used one
dining building, three solo buildings and then one studio and a building
for two. I placed them all and as I said connected them with roads then
started the project. They first built the roads then only started sone
scraps of the rest of the buildings. If I don’t get the problem fixed I’ll
probaly just demolish the entire project and redo it piece by piece to see
if that may help.

Hey there @Jarred_van_Vuuren, welcome to the Discourse :smiley:!

Do you have the save game where this is going on?

To upload a save, locate the folder in
C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_games (assuming a default Steam install), zip the individual save’s folder (not the entire saved_games folder), and upload it. If the *.zip is less than 10 MB, feel free to upload it directly to the Discourse. If larger, please upload it to a cloud storage site like Dropbox, Google Drive, File Dropper, etc. and post the sharing link here.

I have the same problem! I play in peaceful mode without mods (build 663 x64). The door is not placed, the roof is not being build and the scaffoldings are half torned down. No idea how to get them to finish the building. I will try to get a save game uploaded here… I just got a message that new users cannot upload attachments? Though I have this account for almost a year…

Hi @Sam_van_den_Oetelaar :slight_smile:

I just bumped up your user level so that you can upload files.

Cool, thanks. I continued playing for a while, building other buildings, which are finished just fine. It is only the large building that is not being completed. Are the slabs that I have functioning as an inside wall interferring with the roof? Anyhow, it would be nice if somehow the building could be finished :). I have attached my save game!

1476030049035.zip (4.9 MB)

Just for reference, new user isn’t based on when the account was created. New user (TL0) restrictions exist to make it harder for spammers - if you could make an account and then simply come back after a period of time it wouldn’t be that useful.

To get from Trust Level 0 to Trust Level 1, you need to:

  • enter at least 5 topics
  • read at least 30 posts
  • spend a total of 10 minutes reading posts