My room is bigger than my UMA character so on spawn my character looks tiny. I have found this link: http://answers.unity3d.com/questions/988134/uma-how-to-increase-npc-avatar-scale.html

but everywhere I put my code, it does not change my avatars features. Here is my code:

using UnityEngine;
using System.Collections;
using UMA;

public class UMACreator1 : MonoBehaviour {
    public UMAGeneratorBase generator;
    public SlotLibrary slotLibrary;
    public OverlayLibrary overlayLibrary;
    public RaceLibrary raceLibrary;
    public RuntimeAnimatorController animator;

    [Range(0.0f, 1.0f)]
    public float bodyMass = 0.5f;

    private UMADynamicAvatar umaDynamicAvatar;
    private UMAData umaData;
    private UMADnaHumanoid umaDnaHuman;
    private UMADnaTutorial umaDnaTutor;

    private int numberOfSlots = 20;

    void GenerateUMA()

        GameObject go = new GameObject("MyUMA");
        umaDynamicAvatar = go.AddComponent<UMADynamicAvatar>();

        umaData = umaDynamicAvatar.umaData;

        umaDynamicAvatar.umaGenerator = generator;
        umaData.umaGenerator = generator;

        umaData.umaRecipe.slotDataList = new SlotData[numberOfSlots];

        umaDnaHuman = new UMADnaHumanoid();
        umaDnaTutor = new UMADnaTutorial();


        umaDynamicAvatar.animationController = animator;


        go.transform.parent = this.gameObject.transform;

        go.transform.localPosition = Vector3.zero;
        go.transform.localRotation = Quaternion.identity;


     void CreateMale()
        var umaRecipe = umaDynamicAvatar.umaData.umaRecipe;

        umaData.umaRecipe.slotDataList[0] = slotLibrary.InstantiateSlot("MaleFace");

    umaData.umaRecipe.slotDataList[1] = slotLibrary.InstantiateSlot("MaleEyes");

    umaData.umaRecipe.slotDataList[2] = slotLibrary.InstantiateSlot("MaleInnerMouth");

    umaData.umaRecipe.slotDataList[3] = slotLibrary.InstantiateSlot("MaleTorso");

    umaData.umaRecipe.slotDataList[4] = slotLibrary.InstantiateSlot("MaleHands");

    umaData.umaRecipe.slotDataList[5] = slotLibrary.InstantiateSlot("MaleLegs");

    umaData.umaRecipe.slotDataList[6] = slotLibrary.InstantiateSlot("MaleFeet");




// Use this for initialization
void Start () {

// Update is called once per frame
void Update () {
        umaData.isShapeDirty = true;

void SetBodyMass(float mass)
    umaDnaHuman.upperMuscle = mass;
    umaDnaHuman.upperWeight = mass;
    umaDnaHuman.lowerMuscle = mass;
    umaDnaHuman.lowerWeight = mass;
    umaDnaHuman.armWidth = mass;
    umaDnaHuman.forearmWidth = mass;

And here's the image. I want him to be as big as the chair enter image description here


I had my UMA as a child to a game object. I wrote a script attached to the game object that changed the transform size to a set Vector3 in the update function (I think you have to change the transform value after the UMA is generated).

 private Vector3 usualSize = new Vector3(3, 3, 3);
 private bool isFirstUpdate=true;

// Use this for initialization
void Start () {


// Update is called once per frame
void Update () {
      this.gameObject.transform.localScale = usualSize;
  • \$\begingroup\$ Scaling objects is not a good idea in terms of built-in unity physics, but scaling objects in 'Update' every frame is even worse. \$\endgroup\$
    – Exerion
    Oct 5 '15 at 5:52
  • \$\begingroup\$ @Exerion I have fixed the every frame issue. But I don't understand your first point and how to solve it. \$\endgroup\$ Oct 5 '15 at 13:16
  • 1
    \$\begingroup\$ Let me explain. We have a bad model of a tank that imported from 3D editor in scale of 1-to-1 and it looks tiny. You scale that model by 10 and assign mass of 3000 units. And we have normal tank. Both tanks have equal visible size, both have equal mass. But then you collide them or make any other physics-based action - the scaled tank will fly into the sky or be like monolith immovable mountain, what looks weird. It's because scaling is break unity physics. By default 1 unit of scale = 1 meter and 1 unit of mass = 1 kilogram, you need to stick with it. \$\endgroup\$
    – Exerion
    Oct 5 '15 at 13:50
  • \$\begingroup\$ By the way, you did not fixed every frame problem, 'cause isFirstUpdate is always true. \$\endgroup\$
    – Exerion
    Oct 5 '15 at 13:50
  • 1
    \$\begingroup\$ i had the same problem. The Update() fix it ! Thanks. \$\endgroup\$ Nov 19 '15 at 19:51

I had the same problem with Unity3D 2019 and Uma 2

I finally found the solution in this video : UMA FAQ #3: How do I make Males & Females the same size?

Go to the asset: UMA > Content > UMA_Core > HumanMale > DNA > HumanMaleDNAConverterController.asset

In the OVERALL MODIFIERS modify the Scale in Adjust Scale


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.