Builder: Engine error when raising walls on narrow floor parts

Summary:

Steps to reproduce:

  1. Create a simple rectangular floor plan.
  2. Add exactly 1 block of floor to any side of it.
  3. Try to raise walls.

Expected Results:
Raised walls. 1 added block should “raise” a beam.

Actual Results:

release-689 (x64)[M]stonehearth/services/server/build/build_service.lua:1196: assertion failed!stack traceback:
	[C]: ?
	[C]: in function 'assert'
	stonehearth/services/server/build/build_service.lua:1196: in function '_get_blueprint_at_point'
	stonehearth/services/server/build/build_service.lua:1212: in function '_fetch_blueprint_at_point'
	stonehearth/services/server/build/build_service.lua:1229: in function '_fetch_column_at_point'
	stonehearth/services/server/build/build_service.lua:1247: in function '_add_wall_span'
	stonehearth/services/server/build/build_service.lua:1078: in function 'visitor_fn'
	stonehearth/lib/build_util.lua:819: in function 'grow_walls_around'
	stonehearth/services/server/build/build_service.lua:1077: in function 'grow_walls'
	stonehearth/services/server/build/build_service.lua:1049: in function 'cb'
	stonehearth/services/server/build/build_service.lua:1582: in function 'do_command'
	stonehearth/services/server/build/build_service.lua:1048: in function <stonehearth/services/server/build/build_service.lua:1046>

release-689 (x64)[M]c++ exception: lua runtime errorstack traceback:

Notes:
Adding more than 1 block length stripes does not result in an error (see image).

Attachments:

Version Number:
a20r689

1 Like

The error you posted is not the same as the one in the screenshot, but thanks for the repro steps!!

BTW those nice walls will probably have z-fighting once built :disappointed_relieved:

3 Likes