Removing a building causes the area to not allow new building on top of it

Title: Removing a building causes the area to not allow new building on top of it.

Summary: Removing a building causes the area to not allow new building on top of it.

Steps to reproduce: Results will vary.

  1. Build custom building.
  2. Remove custom building.
  3. Try building new custom building. Notice floor cannot be placed in same area.

Expected Results: Game work as expected.

Actual Results: Game not work as expected.

Notes: Why was I tricked into another early access bugfest?

Attachments: Would love to. But since I’m a new user, I can’t. How do I get to not be a new user?

Version Number and Mods in use: release 489 - no mods

System Information: i7, 16 GB, SSD, GTX 780

Welcome to discourse ! Construction bugs are well known but we hope they’ll be solved in the next version !

1 Like

Reading around the steam forums, that seems to be a constant promise. Reminds me a lot of Prison Architect, there are still bugs with completing buildings in that game.

So, I take it there is no work around for any of these issues:

  1. Removing a building stops at some point before finishing. (In my case part of the floor can’t be removed.)
  2. Building won’t build completely. In most cases the roof doesn’t get built.
  3. Removed buildings do not allow another building in its place. (Get the red X cursor)
  4. Removing a building creates a hole in the ground where subsequent buildings will be built 1 level deeper.

As a suggestion for the last one, how about implementing a modifier key for the foundation placement. For example, holding shift while trying to place the foundation would cause it to sit on top of the ground rather than through it.

I have tried restarting and using the debug controls to reset the AI (shift + F5). I have tried pausing the building and restarting the game and then trying to resume building, no luck (same with removing).

I am at the point in my game where I have about 7 buildings that can’t be destroyed or finished. Really kinda breaks the whole game.

Also, in many of these cases, after interacting with a borked building, the framerate drops and lua starts taking around 60% - 70% of the CPU.

One of the errors I’ve gotten:

release-489 (x64) No matching overload found, candidates: void __sub(lua_State*,Point3 const&,Point3 const&) stack traceback: [C]: ? [C]: ? ...arth/components/fabricator/fabricator_component.luac:159: in function 'add_block' .../ai/actions/fabricate_structure_adjacent_action.luac:19: in function 'build_adjacent_to_current_block' .../ai/actions/fabricate_structure_adjacent_action.luac:11: in function <.../ai/actions/fabricate_structure_adjacent_action.luac:9> [C]: ? [C]: ? [C]: in function 'run' stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129> [C]: ? [C]: ? ... [C]: in function 'run' stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129> [C]: ? [C]: ? [C]: in function 'run' stonehearth/components/ai/ai_component.luac:186: in function '_thread_main' stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89> [C]: in function 'xpcall' stonehearth/services/server/threads/thread.luac:89: in function 'f' radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Another error:

release-489 (x64) co-routine failed: No matching overload found, candidates: custom [double] distance_to(Point3 const&,Point3 const&) stack traceback: [C]: in function 'distance_to' ...r/controllers/util/choose_location_outside_town.luac:34: in function 'visit_point' ...r/controllers/util/choose_location_outside_town.luac:50: in function '_try_finding_location_thread' ...r/controllers/util/choose_location_outside_town.luac:31: in function 'f' radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

All your bugs are known and they are working on it. I don’t know if the bugs will be solved soon but maybe any @moderators knows.

Hey there @crazyjat, welcome to the Discourse!

You already did! New users are restricted from a lot of things (software default, not just our forum) to help prevent spam. All you needed to do was enter at least 5 topics, read at least 30 posts, and spend a total of 10 minutes reading posts. You can read more about Trust Levels here:

As to the building bugs, as @Powerclank mentioned, the devs are (well) aware of the building issues, and are working on them. Alpha 14 is expected to be focused on combat and building. I know that saying “the devs are aware” is not much comfort when it just doesn’t work, but as I am not a dev I cannot do much else.

I can’t guarantee that this will work in all cases, but you should be able to use the in-game console to finish a building instantly or delete a broken one. To open the console, type Ctrl + c. The click on the building in question. You can type ib to instantly complete it, or destroy to delete it. destroy can also be used on any other object in the game, be it a Heathling, Goblin, door, window, food, etc. There are a lot of other helpful commands in the console, and you can type help to see a list of them.

Hope this helps you a bit. Please let me know if you have any further questions or concerns :smile:!

3 Likes