I get the follow error after reloading my game. First time to get the error at once before I saved the game:
develop-2630 (x64)
...nehearth/components/building/building_component.luac:124: attempt to index local 'entity' (a nil value)
stack traceback:
radiant/modules/events.luac:48: in function <radiant/modules/events.luac:45>
...nehearth/components/building/building_component.luac:124: in function '_trace_entity'
...nehearth/components/building/building_component.luac:37: in function '_restore_structure_traces'
...nehearth/components/building/building_component.luac:17: in function 'obj'
radiant/modules/events.luac:14: in function 'instance'
radiant/modules/events.luac:59: in function <radiant/modules/events.luac:57>
[C]: in function 'xpcall'
radiant/modules/events.luac:57: in function <radiant/modules/events.luac:50>
Currently are my game in that status also in the beginning. Plan is build a castle.
I hope I can finish my castle If the save game also needed let me know it.
Br RawEdge
PS: I hope you understand it but English is not my mother language.
Update: after try to place a new block for the building I get the follow Errors:
develop-2630 (x64)
radiant/modules/entities.luac:100: attempt to index local 'entity' (a nil value)
stack traceback:
[C]: ?
radiant/modules/entities.luac:100: in function 'get_world_grid_location'
stonehearth/services/server/build/build_service.luac:130: in function '_subtract_region_from_floor'
stonehearth/services/server/build/build_service.luac:91: in function '_add_floor_type'
stonehearth/services/server/build/build_service.luac:81: in function 'add_floor'
stonehearth/services/server/build/build_service.luac:50: in function 'cb'
stonehearth/services/server/build/build_service.luac:304: in function 'do_command'
stonehearth/services/server/build/build_service.luac:50: in function <stonehearth/services/server/build/build_service.luac:49>
develop-2630 (x64)
c++ exception: lua runtime error
stack traceback:
develop-2630 (x64)
...hearth/services/server/build/build_undo_manager.luac:6: assertion failed!
stack traceback:
[C]: ?
[C]: in function 'assert'
...hearth/services/server/build/build_undo_manager.luac:6: in function 'begin_transaction'
stonehearth/services/server/build/build_service.luac:303: in function 'do_command'
stonehearth/services/server/build/build_service.luac:50: in function <stonehearth/services/server/build/build_service.luac:49>
@RawEdge I’m not sure if this would work but you could try selecting the planned building, opening the console with ctrl-alt-c , typing destroy and pressing Enter.
Hi Relyss, i know that function and its possible to “delete” the planned building.
But also after that is it not possible to place new building parts.
On any location.
If I don’t delete the old planned building and want to add new parts on it -> klick on a position -> the new planned part disappear … and the error message shows up again.
You cold follow me? I hope you can understand my English.
If I recall correctly, the bug that led to this error corrupted the building and we probably won’t be able to rescue this save game. Sorry for the bad news.
I found a bug in game while designing a building. It happened while I was placing some individual voxels for decoration. After the bug occurred I could not edit the building any longer and my hearthlings refused to build it.
release-453 (x64)
...nehearth/components/building/building_component.luac:120: attempt to index local 'entity' (a nil value)
stack traceback:
radiant/modules/events.luac:68: in function <radiant/modules/events.luac:65>
...nehearth/components/building/building_component.luac:120: in function '_trace_entity'
...nehearth/components/building/building_component.luac:33: in function '_restore_structure_traces'
...nehearth/components/building/building_component.luac:17: in function 'obj'
radiant/modules/events.luac:15: in function 'self'
radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
[C]: in function 'xpcall'
radiant/modules/events.luac:78: in function <radiant/modules/events.luac:70>
Hey there @Dadrick, welcome back to the discourse, it has been a while !
Unfortunately, your error appears nearly identical to this one:
Your issue is just in the function self instead of instance.@Albert already acknowledge the error in the above thread, and also mentioned that the save is likely to not be rescuable…
Summary:
The slab will become invisible and can not be removed,also u cant build anything coz the block is actually here
The worker cant aslo do anything to it but they can walk on it like walking on the air
Steps to reproduce:
1)Create some slab in a house
2) After the workers built the slab “you can actually see it”, use the slab erase function on the built slab
3)save and load your game
4)Go and check the slab you erased you will mention that they disappered
5)now you have some invisible slab they the worker can do nothing on it (except walking on it)
You cant even build slabs on the place
Expected Results:
Idk what should it be if i erase the built slab
Actual Results:
You got some bugged slab
Notes:
""""""""""""“A error appear every time i load the game”"""""""""""
release-523 (x64)
...onehearth/components/building/building_component.lua:295: attempt to index local 'entity' (a nil value)
stack traceback:
radiant/modules/common.lua:214: in function 'report_traceback'
radiant/modules/common.lua:225: in function <radiant/modules/common.lua:219>
...onehearth/components/building/building_component.lua:295: in function '_trace_entity'
...onehearth/components/building/building_component.lua:105: in function '_restore_structure_traces'
...onehearth/components/building/building_component.lua:66: in function 'obj'
radiant/modules/events.lua:76: in function 'instance'
radiant/modules/events.lua:209: in function <radiant/modules/events.lua:203>
[C]: in function 'xpcall'
radiant/modules/common.lua:234: in function 'xpcall'
radiant/modules/events.lua:203: in function <radiant/modules/events.lua:174>
Attachments:
Version Number and Mods in use:
Version release 523 and no mods using
System Information:
Win 7 64bit
8gb ram
GTX970 display
I merged your post over here, thanks for confirming that this error is still occurring in release-523. As the error occurs each time you load the game, can you upload the save so the devs can review it?
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.
Hello, I get the following error every time I load my current game. I think it is save specific as I have not always received this error. The error isn’t fatal, it’s just annoying. Also, I don’t know if this is related, but my goblins seem to be permanently stuck in a peaceful state. That could be a separate issue though
release-491 (x64)
...nehearth/components/building/building_component.luac:124: attempt to index local 'entity' (a nil value)
stack traceback:
radiant/modules/events.luac:84: in function <radiant/modules/events.luac:81>
...nehearth/components/building/building_component.luac:124: in function '_trace_entity'
...nehearth/components/building/building_component.luac:37: in function '_restore_structure_traces'
...nehearth/components/building/building_component.luac:17: in function 'obj'
radiant/modules/events.luac:44: in function 'instance'
radiant/modules/events.luac:98: in function <radiant/modules/events.luac:96>
[C]: in function 'xpcall'
radiant/modules/events.luac:96: in function <radiant/modules/events.luac:86>
Steps to reproduce:
Load one of my save games (the forum won’t let me attach it)
Expected Results:
Opens up my game error free
Actual Results:
Getting the error pop-up after I load. Other than the goblins issue, I haven’t noticed anything out of the ordinary
Notes:
It keeps happening whether I re-start the program or not
Attachments:
I would attach a save, but the forum won’t let me
Version Number and Mods in use:
release-491 (x64)
System Information:
Windows 8.1 Pro 64 bit
Intel Core i7-2600K
AMD Radeon R9 200 series
Windoes directory on single PCI Slot SDD
Steam Folder on a Raid 1+0 with 4 SSDs