I remember very little about this book, I read it when I was a kid. It was some sort of alien world, where animals kept getting striped bare to their bones and nobody could figure out why. Then it gets found out it's like this massive swarm of bugs that essentially fly over something for a few seconds and when it's stripped bare they move on. I wish I could remember more, I mostly just remember I really enjoyed reading it. It is not Prey by Crichton.
This has some similarity to 'Beowulf's Children', Larry Niven's sequel to 'The Legacy of Heorot'. The stories are about a human colony called Avalon. The colony planet fauna have evolved a blood supercharger compound which when consumed by the local equivalent of bees causes them to behave like the bug swarm mentioned.
This sounds like Beast Master's Ark. It's written by Lyn McConchie, following an Andre Norton book. It was published in 2003.https://www.goodreads.com/book/show/462382.Beast_Master_s_Ark
Might it have been "Dust" by Charles Pellegrino? Much fits but it doesn't happen on an alien world.
Edmund Cooper's Venom of Argus included 'Pirahna Bugs', a swarm of which could strip an animal to the bones in seconds...
It's one of a four part series about a team of astronauts proving planets safe for colonisation