# Why are my automatic weights not working? [duplicate]

I downloaded this Sonic the Hedgehog model on Sketchfab.com, and I'm trying to rig this model, but I keep getting the same error message.

The error I'm seeing is:

Bone Heat Weighting: Failed to find solution for one or more bones


I also don't know how to connect his parts so the model can be rigged.

My blend file