Game freezing building

Summary:
I have a VERY large building that will semi freeze my game if i attempt to build it.
I can finish building it in paused mode but will be unable to start time in the game again.

If i build it while time is running everything freezes up but i can still move camera around. and building does not read as complete, unlike if i do it in paused mode. (also have camera control in paused mode) So game never crashes just locks up. Memory load stays locked in exact same spot when i attempt it as well.

No crash reports since technical the game never crashes.

it also reports these errors on startup:
(without a doubt from the building in question, since i had them for ages)

develop-3131 (x64)
…ices/client/renderer/construction_render_tracker.lua:20: attempt to index field ‘_bp’ (a nil value)
stack traceback:
[C]: ?
…ices/client/renderer/construction_render_tracker.lua:20: in function '__user_init’
radiant/lib/unclasslib.lua:270: in function '__init’
radiant/lib/unclasslib.lua:201: in function ‘ConstructionRenderTracker’
…ers/construction_data/construction_data_renderer.lua:23: in function <…ers/construction_data/construction_data_renderer.lua:11>

-----------next page---------------
develop-3131 (x64)
c++ exception: lua runtime error
stack traceback:

-------------next page-----------

develop-3131 (x64)
…ehearth/renderers/fabricator/fabricator_renderer.lua:30: assertion failed!
stack traceback:
[C]: ?
[C]: in function ‘assert’
…ehearth/renderers/fabricator/fabricator_renderer.lua:30: in function <…ehearth/renderers/fabricator/fabricator_renderer.lua:17>

-------------next page---------------

develop-3131 (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>

Steps to reproduce:

  1. load game select the building in question and open console and use ib

Expected Results: game lock up

Actual Results:

Notes:

Attachments:
https://drive.google.com/open?id=0B7Sa8ogmH3qhZ3dzTlJmU28yQnM

since i cant build and upload the building heres is the save game its the biggest building in the save you CANT miss it :stuck_out_tongue:

Version Number and Mods in use:
0.18 dev 3131 (x64)

System Information:

Windows 7. AMD 7979 m i7 24 gigs ram.

3 Likes

Something is definitely broken here - @not_owen_wilson opening the save I can’t even get the template to save properly. Saving the template and attempting to open it in microworld cause an error:

2016-09-15 18:39:44.206228error parsing json: Not JSON!
2016-09-15 18:39:44.206705 | server |  1 |                         lua.code | failed to read C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_objects\stonehearth\building_templates/giant castle.json: Not JSON!
2016-09-15 18:39:44.206705 | server |  2 |                         lua.code | generating traceback...
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code | -- Script Error (lua) Begin ------------------------------- 
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code |    stonehearth/lib/build_util.lua:501: attempt to index local 'template' (a nil value)
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code |    stack traceback:
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code |    	[C]: ?
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code |    	stonehearth/lib/build_util.lua:501: in function 'get_custom_templates'
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code |    	stonehearth/call_handlers/build_call_handler.lua:44: in function <stonehearth/call_handlers/build_call_handler.lua:43>
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code | -- Lua Error End   ------------------------------- 
2016-09-15 18:39:44.206705 | server |  2 |                         lua.code | generating traceback...
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code | -- Script Error (native) Begin ------------------------------- 
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code |    c++ exception: lua runtime error
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code |    stack traceback:
2016-09-15 18:39:44.206705 | server |  0 |                         lua.code | -- Lua Error End   ------------------------------- 

Invalid template: giant castle.zip

1 Like

I just wanted to add i made it in version 17 not 18.

also i wanted to point to this…http://discourse.stonehearth.net/t/crash-caused-by-save-game/24972

.since i dont know if it could be related…and dont want you chasing ghosts i might have created :slight_smile:

i had the startup errors before my little savegame issue tho…and had finished working on the building in question. a fair ammount of time before that happened.

1 Like

@jomaxro
I have no clue why…but the building finished up and i got the game running again i guess it toke like 15 mins.(tried waiting an hour before, so i dunno)
And then my heartlings started moving about again. (build it in paused mode started the game) toke some pics and all of a sudden my game woke up again.

I still get the same startup error tho.

I tried to make an export of the template, gave it a few min to make a template then opened the custom templates tab, and then it loaded for like 15 mins…

then i tried selecting the template …and after a few mins it does seem like it allows me to rotate the template but its to big to be placed…or even be viewed :stuck_out_tongue:

https://drive.google.com/open?id=0B7Sa8ogmH3qhNkV2TzdoSW1pRFU

but there’s the template. not sure if it will help.

edit: think i just had a crash trying to select the template! so uploaded crash report and log as well.

1 Like