Tank track deformation rigging for Unity. Worked well before, fixed a problem and created more Here is the first tank model I made. It uses the array and curve modifier for the track shape and I purposely left a gap which I stitched together with the F key function to create a solid shape in Blender. When I placed it in Unity the stitch I made came out as a partial void but the track suspension worked:

Notice the void in the track links where I tried to stitch them together.

And the tracks deform perfectly.
After this I tried to fix this issue by making the number in the array just a bit too small and then I edited the bezier curve to make it just small enough to made the track almost connect. I did not edit this after applying the array and curve modifier.

And the later model looks like this, notice that the track comes out perfectly without any gaps or voids.
But when I try to deform the bone it ends up very broken

As you can see the track does not deform properly. In a newer version, I tried arranging the bones better so that the automatic weight painting would look better.

But the issue is still persistent in Unity:

The model and armature/bones:

I have tried creating these tracks several times. Any help would be greatly appreciated.
First you can delete the faces on the sides of the track segments, where they connect. These will end up on the inside of the track where you can't see them, so you don't need them.

When you merge your track segments (to get rid of the staircase effect) by checking the Merge box in the Array modifier, you can also check the box First Last to close the loop. It doesn't always work though, like in my example.

But that's not a problem. : )

You can close the loop manually in Edit Mode, after applying the modifiers. Select pairs of vertices than need to be connected and press F. Then use F to make faces between the newly created edges.

Or select al the 8 vertices you want to connect and do Edge &gt; Bridge Edge Loops.

Or you can add a Weld modifier, and increase the distance until the gap is bridged.