Multi-Story Building Bug

Multi-Story Building Bug | Alpha 12 - Steam

Summary:
Crash report filed after attempting to make a regular multi-story building.
Requires a restart in order to build anything again.

Steps to reproduce:

  1. Begin making the building.
  2. Add a second floor, make sure to leave a hole for the ladder, and the hole has to be 3 or less wide and 3 or less long in order to crash.
  3. Attempt to add walls to second floor and voila.

Errors:

  1. Error 1
    release-472 (x64)
    stonehearth/services/server/build/build_service.luac:222: assertion failed!
    stack traceback:
    [C]: ?
    [C]: in function 'assert’
    stonehearth/services/server/build/build_service.luac:222: in function '_get_blueprint_at_point’
    stonehearth/services/server/build/build_service.luac:225: in function '_fetch_blueprint_at_point’
    stonehearth/services/server/build/build_service.luac:230: in function '_fetch_column_at_point’
    stonehearth/services/server/build/build_service.luac:231: in function '_add_wall_span’
    stonehearth/services/server/build/build_service.luac:199: in function 'visitor_fn’
    stonehearth/lib/build_util.luac:264: in function 'grow_walls_around’
    stonehearth/services/server/build/build_service.luac:199: in function 'grow_walls’
    stonehearth/services/server/build/build_service.luac:189: in function 'cb’
    stonehearth/services/server/build/build_service.luac:304: in function 'do_command’
    stonehearth/services/server/build/build_service.luac:189: in function <stonehearth/services/server/build/build_service.luac:188>

  2. Error 2:
    release-472 (x64)
    c++ exception: lua runtime error
    stack traceback:

Versions and Mods:
I am running Alpha 12 - Steam with no mods.

1 Like

Hey there @Wulf, welcome to the Discourse! Thank you very much for using the report template for your report, very helpful for the devs.

Would you be able to share a screenshot of the building for which you are trying to add the second floor walls?

Hey @jomaxro, of course I can, though I don’t think a screenshot will help as seeing this bug happens with every single building with: 1. a second floor, 2. a hole that is 3x3 or less, and finally 3. when you attempt to add the walls automatically. However I will grab a screenshot now :grinning:

Here are the screenshots used to reproduce the bug, in them, I used a 4x3 hole, so it turns out only one side needs to be < 4 blocks, and it causes the errors.

Screenshot 1:

Screenshot 2:

Screenshot 3:

Screenshot 4:

Notes
After the reproduction of the final screenshot, you will not be able to build ANYTHING at all until you restart your game.

P.S.
Would just like to say that Discourse is currently the best website that I have seen for forums and whatnot, and on top of that, the work Team Radiant have put into Stonehearth is incredible, the game is easily in my top 5 list of best games of all time. I genuinely enjoy this game and have found I can play it non-stop for a very long time. :grin:

P.P.S.
I had to make 4 individual replies as being a new user I can only post 1 image per post. Sorry for any inconvenience.

Alright, thanks for the detailed screenshots, and sorry about the new account limitation :frowning: . Going to page @Albert and @not_owen_wilson to come see this error, but I do have a work around for you (maybe). If might be possible for you to build the first floor, then the walls, then the second floor, then the walls, and finally cut the hole in the floor. The auto walls try to surround everything, and that can cause weird issues like you demonstrated.

Definitely a bug, but give that a try!

Thank you for your help @jomaxro! Definitely deserve being a moderator!

1 Like

You are welcome! DId the workaround work for you?

Haven’t tried it as of yet, I will get back to you as soon as I do!

Hey it worked! I just removed the part where I wanted a ladder and voila, it worked perfectly, and on top of that, the way I was doing it would’ve made for a weird hole that went straight up and no way to get to the second floor. Thanks so much again @jomaxro!

1 Like

My pleasure! Still a bug, though, so I will not mark it as resolved, but glad you could get it working!

I have the same error and its looks like its because it collides with another part of the wall that was placed the same time as the walls around the opening. Mine happened with the hole for the second floor right next to an exterior wall. You should be able to see the black pillar trying to be in the same block as the wall. The wall has a “W” looking pattern on it in the screenshots.



Build A13-483