This is a pretty old bug actually (This happens to me since aquatic update). Ever since pufferfish player detection contraptions were a thing, this always happened to me:
The contraption worked pefectly, until suddenly, my pufferfish died for no reason. I finally know why.
When I exit the world and reload it, there's a chance that the pufferfish phases through blocks. Making it suffocate (by block or by air).
There's also some redstone contraptions that break if the world is shut down and then reloaded, but I don't have evidence of that.
Bug Recreation video: https://www.youtube.com/watch?v=d66FU49memM
Linked issues
relates to 1
Comments 3
No, this issue is about the pufferfish escaping its cage, literally walking through blocks. But I had that issue as well.
Does MC-149495 describe your issue?
This issue has been temporarily closed as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki