Yeah. Also, there may be a symbiosis of some sort. Something like:
1. An Alien secretes the resin.
2. In such resin inhabit microorganisms that can accelerate the growth of the hive.
3. Both, the Alien and the multi-cellular organism, need victims wrapped in cocoons (the first one to use them as hosts and the second one to use them as food).
4. More Aliens are born.
5. which makes the swarm grow...and so on.