Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Question Can't use transform avatar mask on blender skeleton

Discussion in 'Animation' started by AnAnxiousBadger, Sep 5, 2022.

  1. AnAnxiousBadger

    AnAnxiousBadger

    Joined:
    Aug 31, 2022
    Posts:
    1
    Hi,

    I am trying to use an avatar mask on a skeleton I made in Blender. It is just two arms, so I am trying to use the transform option. I select my avatar which I imported along with the arm model:


    upload_2022-9-5_20-32-54.png

    (I also have 3 animations, that work fine with the model and this avatar as a source.)

    When I press the Import Skeleton button I get this error:

    upload_2022-9-5_20-39-45.png

    ArgumentOutOfRangeException: StartIndex cannot be less than zero.
    Parameter name: startIndex
    System.String.Remove (System.Int32 startIndex) (at <c2a97e0383e8404c9fc0ae19d58f57f1>:0)
    UnityEditor.AvatarMaskInspector.FillNodeInfos () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    ToggleTreeView`1[T].BuildRoot () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.FetchData () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.IMGUI.Controls.TreeViewDataSource.ReloadData () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.IMGUI.Controls.TreeView+TreeViewControlDataSource.ReloadData () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.IMGUI.Controls.TreeViewController.ReloadData () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.IMGUI.Controls.TreeView.Reload () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.AvatarMaskInspector.UpdateTransformInfos () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.AvatarMaskInspector.OnTransformInspectorGUI () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.AvatarMaskInspector.InspectorGUIWithNoClipInfo () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.AvatarMaskInspector.OnInspectorGUI () (at <5f40cdb07bd44d76a23dad985a4ec283>:0)
    UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <77cfaa957c26445e8d2fa87bf3ff3fa6>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)

    I can not seem to make it work. I would really appreciate a little help on the matter. Thank you!!