Steps to reproduce:
1. Get a structure block with /give @s structure_block
2. Save a structure containing a bed occupied by a villager, with "Include Entities" on
3. Destroy the existing structure
4. Load the structure at a different position in the world, with "Include Entities" on
❌ The newly placed bed is empty, and a villager appears where the bed was when the structure was saved.
Expected behavior: When loaded, the structure should contain a bed occupied by a villager.
Note: If the original bed was not destroyed in Step 3 and is still occupied by a villager when the structure is loaded, this will cause two villagers to sleep in the same bed.
Please check if this is still an issue for you in 1.16 Release Candidate 1 or later.