R851 - errors thrown when saving building template - RESOLVED by r852

Edit: HOLY GUACAMOLE THAT WAS FAST. r852 released just now resolved this; saved a template, nary a traceback in sight. /impressed


New build from a few minutes ago, 24.10.4 r851steam unstable. Save attached; new game, Rayya’s in the desert, attempted to make a clay building template. Using tier1 available items only. Items appeared to queue up normally, but the following three tracebacks appeared as soon as I saved the template:


release-851 (x64)
…onehearth/renderers/structure/structure_renderer.lua:85: attempt to index local ‘origin’ (a nil value)
stack traceback:
[C]: ?
…onehearth/renderers/structure/structure_renderer.lua:85: in function ‘_update_shadow_node’
…onehearth/renderers/structure/structure_renderer.lua:94: in function ‘on_changed’
…onehearth/renderers/structure/structure_renderer.lua:46: in function <…onehearth/renderers/structure/structure_renderer.lua:45>
[C]: in function ‘push_object_state’
…onehearth/renderers/structure/structure_renderer.lua:54: in function <…onehearth/renderers/structure/structure_renderer.lua:20>

release-851 (x64)
…onehearth/renderers/structure/structure_renderer.lua:101: attempt to call method ‘destroy’ (a nil value)
stack traceback:
[C]: in function ‘destroy’
…onehearth/renderers/structure/structure_renderer.lua:101: in function <…onehearth/renderers/structure/structure_renderer.lua:97>
[C]: in function ‘destroy_authoring_entity’
radiant/modules/client_entities.lua:25: in function ‘destroy_entity’
stonehearth/stonehearth_common.lua:32: in function ‘destroy_child_entities’
stonehearth/stonehearth_client.lua:66: in function ‘cleanup_entity’
stonehearth/stonehearth_client.lua:92: in function <stonehearth/stonehearth_client.lua:91>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/stonehearth_client.lua:91: in function <stonehearth/stonehearth_client.lua:90>
[C]: ?
[C]: in function ‘trigger’
radiant/modules/events.lua:55: in function <radiant/modules/events.lua:55>
[C]: in function ‘destroy_authoring_entity’
radiant/modules/client_entities.lua:25: in function ‘destroy_entity’
stonehearth/lib/building/template_utils.lua:953: in function <stonehearth/lib/building/template_utils.lua:943>

release-851 (x64)
c++ exception: lua runtime error
stack traceback:
[C]: in function ‘destroy_authoring_entity’
radiant/modules/client_entities.lua:25: in function ‘destroy_entity’
stonehearth/stonehearth_common.lua:32: in function ‘destroy_child_entities’
stonehearth/stonehearth_client.lua:66: in function ‘cleanup_entity’
stonehearth/stonehearth_client.lua:92: in function <stonehearth/stonehearth_client.lua:91>
[C]: in function ‘xpcall’
radiant/modules/commons.lua:73: in function ‘xpcall’
stonehearth/stonehearth_client.lua:91: in function <stonehearth/stonehearth_client.lua:90>
[C]: ?
[C]: in function ‘trigger’
radiant/modules/events.lua:55: in function <radiant/modules/events.lua:55>
[C]: in function ‘destroy_authoring_entity’
radiant/modules/client_entities.lua:25: in function ‘destroy_entity’
stonehearth/lib/building/template_utils.lua:953: in function <stonehearth/lib/building/template_utils.lua:943>

No mods. Win7 x64
.template-traceback.7z (1.9 MB)

1 Like