Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

1/7
MSwarms is a simple, modular system for creating swarms, flocks, and groups. Built for expandability, it comes ready with and supports custom behaviour, randomisation, and optimisations :)
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.31f1
Compatible
Compatible
Compatible
Additional compatibility information

If your SRP somehow interacts poorly with the system, please let me know- this package is written to be independent from rendering, however the samples do use the built-in pipeline.

The system itself only handles the creation and motion of the agents, so issues with rendering likely would be traced back to something else, e.g the prefab selected on a swarm.

Package dependencies
1
This package needs other Asset Store packages in order to work.
Description

IMPORTANT NOTE: Make sure to screenshot your swarms before updating to 2.0.0! The update completely redoes SwarmValues, so you will lose what you don't archive!


MSwarms is a package developed for games that need swarms or groups with replicated and easily customisable behaviour. Other Boids or swarm packages focus primarily on having a lot of agents of a specific type (e.g fish, birds) with limited control over their behaviour and little to no support for behavioural divergence- MSwarms is directed towards behaviour control and allows pseudo-divergence.


It comes packed with >10 separate behaviour modules ready to be used and deeply customised, with the ability to very easily implement more as is seen fit- this means that you can replicate specific behaviour patterns across a large number of agents, allowing for simple or complex simulations alike.


Swarms can be separated across and differentiate behaviour in response to layers, dynamically grown and shrunk, modified at runtime, integrated with pre-existing gameplay and more! :) They're made to be easy to use and deeply customisable for whatever purpose you may have.


Hopefully this package sounds cool and useful for your project- if you have any questions, concerns, or suggestions, shoot me an email !! This is my first package, any and all feedback is deeply appreciated and I'll do my best to be around for any support you might need :))

Technical details
  • Custom Inspector classes for streamlined random values
  • NaughtyAttributes usage for dynamic, concise and streamlined UI
  • Premade optimisation (custom spatial partitioning, caching, optional parallelism)
  • ScriptableObject integration for swarm storage
  • Custom agent prefabs (NOTE: dynamic rigidbodies are not supported- they will cause Unity to lock up, I believe due to this package and rigidbodies clashing, however kinematic bodies with continuous (and etc) collisions do work)
  • Layer-based behaviour splitting
  • Inspector-integrated random values
  • Modular behaviour classes with very simple custom implementation
  • Premade behaviours (including Boids (whole and split into rules), obstacle avoidance, transform targeting, agent targeting, boundaries, static and random vectors, etc)
  • Supports ~3000 agents above 60fps (this is less than other packages- if you need performance with simple behaviour, check others out! :) some really really cool packages are out there)
  • Pseudo-divergent behaviour- individual agents can have multipliers for specific behaviours, allowing, albeit limited, divergence
  • Addressable behaviours for modifications at runtime/from scripts
  • Interfaces and polymorphic classes for implementation of custom swarm/container types (e.g static swarms, gpu integrated, etc)
  • Sample scenes with premade functionality

Documentation

Docs for this package are in the DOCUMENTATION.md file at the root of the package folder. This documentation is not extensive, however should cover most aspects of the package- if you have any questions, issues, etc, shoot me an email. :)

MSwarms

(not enough ratings)
21 users have favourite this asset
(21)
$4.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
789.0 KB
Latest version
2.1.0
Latest release date
Sep 23, 2024
Original Unity version
2021.3.31
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR