Road Placement in Building Editor not working

Summary:
Trying to place roads in the building editor is currently not displaying properly and throwing errors. It seems like you can still get roads to build, but it doesn’t display so it’s impossible to tell where your roads are being placed.

Steps to reproduce:
Use the road tool in the editor. Attempt to place the road.

Errors:

Engine Error 1

release-886 (x64)[M][C]
…onehearth/services/client/widget/widget_renderer.lua:189: attempt to call method ‘get_visibility_override’ (a nil value)
stack traceback:
[C]: in function ‘get_visibility_override’
…onehearth/services/client/widget/widget_renderer.lua:189: in function ‘_update_shape’
…onehearth/services/client/widget/widget_renderer.lua:40: in function <…onehearth/services/client/widget/widget_renderer.lua:39>
[C]: in function ‘push_object_state’
…onehearth/services/client/widget/widget_renderer.lua:42: in function <…onehearth/services/client/widget/widget_renderer.lua:27>

Engine Error 2

release-886 (x64)[M][C]
…onehearth/services/client/widget/widget_renderer.lua:98: attempt to call method ‘destroy’ (a nil value)
stack traceback:
[C]: in function ‘destroy’
…onehearth/services/client/widget/widget_renderer.lua:98: in function <…onehearth/services/client/widget/widget_renderer.lua:61>
[C]: in function ‘destroy_authoring_entity’
radiant/modules/client_entities.lua:25: in function ‘destroy_entity’
…nehearth/services/client/building/structure_tool.lua:167: in function ‘_self_destruct’
…nehearth/services/client/building/structure_tool.lua:352: in function ‘_on_dragging’
…nehearth/services/client/building/structure_tool.lua:157: in function <…nehearth/services/client/building/structure_tool.lua:130>
(tail call): ?
(tail call): ?
stonehearth/services/client/input/input_service.lua:80: in function <stonehearth/services/client/input/input_service.lua:51>
(tail call): ?

Engine Error 3

release-886 (x64)[M][C]
c++ exception: lua runtime error
stack traceback:
[C]: in function ‘destroy_authoring_entity’
radiant/modules/client_entities.lua:25: in function ‘destroy_entity’
…nehearth/services/client/building/structure_tool.lua:167: in function ‘_self_destruct’
…nehearth/services/client/building/structure_tool.lua:352: in function ‘_on_dragging’
…nehearth/services/client/building/structure_tool.lua:157: in function <…nehearth/services/client/building/structure_tool.lua:130>
(tail call): ?
(tail call): ?
stonehearth/services/client/input/input_service.lua:80: in function <stonehearth/services/client/input/input_service.lua:51>
(tail call): ?

Version Number and Mods in use:
Latest Build, r886 - no mods in use

That code does not match release 886. If you have unpacked the SMODs (e.g. by using SHED), they will not be updated when Steam updates the game. Delete those and it’ll start using the up to date code in the SMODs again (which you can unpack as well, but which again, will not be auto-updated).

1 Like

Ah my bad, I didn’t realize that! All fixed up :slight_smile: