A24-851 Engine Error

Seeing this error a heap since 851.

release-851 (x64)[M]
…ehearth/services/client/build_editor/item_placer.lua:172: attempt to index local ‘entity’ (a nil value)
stack traceback:
[C]: ?
…ehearth/services/client/build_editor/item_placer.lua:172: in function ‘_location_filter’
…ehearth/services/client/build_editor/item_placer.lua:71: in function ‘_location_filter_fn’
…ces/client/selection/entity_or_location_selector.lua:224: in function ‘filter_fn’
…nehearth/services/client/selection/selector_util.lua:23: in function ‘get_selected_brick’
…ces/client/selection/entity_or_location_selector.lua:211: in function ‘_get_selected_brick’
…ces/client/selection/entity_or_location_selector.lua:283: in function ‘_on_mouse_event’
…ces/client/selection/entity_or_location_selector.lua:451: in function ‘go’
…ehearth/services/client/build_editor/item_placer.lua:85: in function ‘go’
…tonehearth/call_handlers/place_item_call_handler.lua:16: in function <…tonehearth/call_handlers/place_item_call_handler.lua:12>

Steps to reproduce:

  1. Try to move some furniture.

Expected Results:
To move furniture.

Actual Results:
Throws the error and the no more furniture can be moved in the game, without reloading from a save.

Happening in new games and old saves alike.

You are still able to place items down outside of buildings, but - any building you have added to the map cannot have items placed into it. The cursor becomes a red X.

Refreshing the gui with F5 doesn’t fix it. Only throws the error again the next time you try to move something.


Version Number and Mods in use:
a24-851, with or with-out mods.

System Information:


Had some success reproducing this one; seems to occur when a building you have built, is the first “hitbox” the cursor enters after selecting an item from the “Place an Item” gui.

If you scan the mouse over some default terrain before entering the “building-hitbox” with the cursor, you don’t get the error.

We’ve already fixed this. It will go in the next build.

I’m trying to put some stuff inside a complete building, but I simple can’t. When I try, the cursor stay normal and the ghost stuff don’t appear inside the building so that I place it.
I’m seeing this not so often when u’re making the building and putting the furniture inside. Some times, It’s hard to put them, but I can do. But when I make the building and try to put them later… I just can’t :frowning:

Steps to reproduce:

  1. Complete the building
  2. Place the stuff inside it
  3. Be happy

Expected Results:
Can put the stuff inside when the building is COMPLETE.

Actual Results:
Not possible

I’m using a old save. But ins’t too old (Last week).

Version Number and Mods in use:
Release-851 - Just biome mods

System Information:
Rysen 1600, GTX 1070, 8GB