I'm having the same issue. I made an underwater village, the accessible area by villagers is 9 chunks. the middle chunk has 2 spawning platforms for iron golems, with 1 block tall flowing water. not a single iron golem has spawned in it. rather they have spawned in chunks that yes, are in the spawning range, but is solid water. it was built in a coral reef, and I have found that they spawn regardless of coral fans, coral, sea grass, or the fact that they are in completely solid water. its a nuisance. I have placed string in spawning spots, excluding the blocks listed previous. if they are not spawning there they are spawning anywhere else that dosent have strings within the spawning radius. also they are spawning at an extremely slow rate; around 1 per 3 Minecraft days. the village has 30 villagers, with only 6 without jobs. within the actual chunks villagers can be in, the entire floor is waterlogged mangrove leaves, blow varies form sand, glass, and sea lanterns, and no iron golem has spawned there.
I'm having the same issue. I made an underwater village, the accessible area by villagers is 9 chunks. the middle chunk has 2 spawning platforms for iron golems, with 1 block tall flowing water. not a single iron golem has spawned in it. rather they have spawned in chunks that yes, are in the spawning range, but is solid water. it was built in a coral reef, and I have found that they spawn regardless of coral fans, coral, sea grass, or the fact that they are in completely solid water. its a nuisance. I have placed string in spawning spots, excluding the blocks listed previous. if they are not spawning there they are spawning anywhere else that dosent have strings within the spawning radius. also they are spawning at an extremely slow rate; around 1 per 3 Minecraft days. the village has 30 villagers, with only 6 without jobs. within the actual chunks villagers can be in, the entire floor is waterlogged mangrove leaves, blow varies form sand, glass, and sea lanterns, and no iron golem has spawned there.