NPCs will not spawn during an event or if the house is in an area affected by too much Corruption or Crimson. When all NPC requirements are met and suitable housing is available, the available NPC will spawn and a banner will appear in the occupied room.