Unemployed villagers that have come straight from a breeder are unable to access a workstation although it is the right time of day, they are have not been previously traded with, they have line of sight with a workstation.
I have tried to give villagers professions while they are in a minecart, out of a minecart, in a moving minecart and while they are able to move freely. The rate of villagers picking up a profession seems slow to the point where unemployed villagers take a profession once a day if at all. I've tried placing down several workstations and even completely encasing a villager in smithing tables on every single side and still it does not work. This seems to have happened since 1.17 as I've never had this problem be so chronically bad in previous versions.
I've ran multiple worlds and because I usually play using optifine, I used a completely vanilla instance of the game, no use.
Is this still an issue in version 1.18.1? If so, please attach screenshots or video of the issue with the debug screen (F3) enabled.