Husks and Stray, when spawning naturally, are required to be under the sky. Unfortunately, this requirement still applies when they are spawned from mob spawners. This can be problematic for mapmakers. This is less of a bug and more of a request to alter how these mobs spawn when created from a Mob Spawner block.
Thank you for your report!
However, this issue is Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit Minecraft Suggestions on Reddit.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki