A compound collider is a collection of collider GameObjects on the same parent Rigidbody GameObject. For details on when and why you might use a compound collider, see Introduction to compound colliders.
A compound collider is made up of a parent GameObject which has a Rigidbody component, and child GameObjects that have colliders.
Before you build your compound collider, think about what you want to use the collider for, and how you want to arrange the colliders.
There is no one perfect way to arrange a compound collider; the efficiency always depends on the shape, the desired behavior, and the other elements in your project. For this reason, you should always run tests against your compound collider to check that it behaves as expected, and you should use the Physics Profiler to test different arrangements and configurations for computational efficiency.
If you need to apply the same compound collider to multiple GameObjects, you can duplicate the parent GameObject or use Prefabs.
Several third-party tools are available on the Asset Store that can automatically generate a compound collider based on the Mesh of the GameObject. These tools are useful and can save time, but their output still requires testing and might require some adjustment to be fully efficient. You should apply the same level of testing to them as you would to a collider that you have built manually.