Neither of those issues give me any insight into why the villagers will not have any problems in 1.18 generated chunks VS the chunks originally generated in 1.17. I know I'm not the only one having this problem too because i approached my community about it, and a couple of other people said that they have been dealing with the same thing.
I moved some villagers out of the spawn chunks (which were generated in 1.17 vanilla) and put them in 1.18 chunks and the glitch was completely fixed. So I'm thinking that it has something to do with the coding of the villagers in 1.18. Was anything changed in the update? Is there anything I can do other than move my entire base out of the spawn chunks?
It still happens even when im not using Optifine. Here are some pictures without Optifine.
[media]
[media]
[media]
Here are 4 pictures of what it looks like. I wasn't quite sure what you needed, so I hope this helps. I appreciate the help!!
Btw, the world is loaded in 1.18 but the spawn chunks are in 1.17 if that changes anything.
I am in version 1.19.4 and im still having this same issue. I only am getting Oxeye Daisies or Azure bluets.