Error when selling and when hitting F5

Title:
error when selling and when hitting F5

Summary:
error when selling to a Merchant and when hitting F5

Steps to reproduce:

  1. A Merchant came, sold some beds, error pops-up
  2. or hitting F5 (not before Merchant came)

Expected Results:
No error while selling or hitting F5
Items were still sold to the Merchant
Ever time hitting F5

Actual Results:

Error1
release-489 (x64)
…/components/entity_forms/entity_forms_component.luac:178: attempt to index field ‘ai’ (a nil value)
stack traceback:
[C]: ?
…/components/entity_forms/entity_forms_component.luac:178: in function ‘_reconsider_entity’
…/components/entity_forms/entity_forms_component.luac:126: in function ‘_cleanup_item_placement’
…/components/entity_forms/entity_forms_component.luac:23: in function <…/components/entity_forms/entity_forms_component.luac:17>

Error2
release-489 (x64)
c++ exception: lua runtime error
stack traceback:

Notes:
People are doing:
-mining at a higher place
-building a House
-hunting
Attachments:


Version Number and Mods in use:
release-489 (x64)
System Information:
Windows 10
Gigabyte motherboard and Intel Processor
Nvidia Geforce 770

A post was merged into an existing topic: Engine error - attempt to index field ai - when selling items