I'm fairly new to blender and I've come across this issue. My flag with wind physics seems fine when I animate it on my view port using collision physics.
Here's a sample:
https://i.sstatic.net/eZXGu.jpg
But the moment I render the animation the flag seems to spins around then the meshes seems to break.