I was playing in a ice biome and I wanted the ice to melt so I put a campfire in a hole in the water. When I tried to put it in the water, it unlit, but when I hollowed out a clear area, and ice melted onto it, it stayed lit, despite being underwater.
Environment
1.18.2, Windows 11
Thank you for your report!
We're tracking this issue in MC-142097, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki