waning for a bug in native house with leaf bed.
if you put the bed too close to the inside edge, the NPC using it might fall out of the world and stuck down there.
in my game, my NPC just keep randomly disappearing one by one, and i just notice about this after 20h+ lol.
took sometime to find the reason, after a while I see the NPC sleep and woke up from the bed and slowly slide down into the abyss (they woke up *outside* the inside area of the house, they are no floor there, so they sink into the abyss).
if anyone has the NPC disappearing problem, just put the bed further from the edge, and using command /resetpos to bring all of the NPC back from the void (they go back to set location that you select).