Baking bones for character customisation (Blender -> Unity)

Use UMA it automate the process for you:

UMA - Unity Multipurpose Avatar on the Asset Store! (Part 1) page-140