Search Unity

Unity 2019.3 not recognizing multiple animation clips from blend files

Discussion in 'Formats & External Tools' started by AkAkAkk, Jan 31, 2020.

  1. AkAkAkk

    AkAkAkk

    Joined:
    Feb 13, 2018
    Posts:
    2
    Description:
    Unity giving error when model from blender 2.8 is imported with any animations, animations do not appear at all in unity editor.

    Error:
    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.ModelImporterClipEditor.FindNextAvailableName (System.String baseName) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.ModelImporterClipEditor.MakeUniqueClipName (System.String name) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.ModelImporterClipEditor.AddClip (UnityEditor.TakeInfo takeInfo) (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.ModelImporterClipEditor.SetupDefaultClips () (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.ModelImporterClipEditor.OnEnable () (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.AssetImporterTabbedEditor.OnEnable () (at <6f28216fea9f453abf2e05b770ed3ee4>:0)
    UnityEditor.ModelImporterEditor.OnEnable () (at <6f28216fea9f453abf2e05b770ed3ee4>:0)

    bake_anim_use_nla_strips has been set to true
    bake_anim_use_all_actions has also been set to true

    Anyone know what this error means?

    I have attached the blend file in question but i have tested other files and get the same issue
     

    Attached Files:

    CloudyVR likes this.
  2. George-Ing

    George-Ing

    Unity Technologies

    Joined:
    Jan 14, 2020
    Posts:
    78
    GeorgeYR likes this.
  3. AkAkAkk

    AkAkAkk

    Joined:
    Feb 13, 2018
    Posts:
    2
    I am expecting only one animation clip. However, the issue is also on models with multiple animation clips
     
  4. George-Ing

    George-Ing

    Unity Technologies

    Joined:
    Jan 14, 2020
    Posts:
    78
    Great, thanks! We're looking into the issue.
     
    GeorgeYR likes this.
  5. hkalterkait

    hkalterkait

    Joined:
    Jul 20, 2016
    Posts:
    11
    Hello, I am having the same issue as well in Unity 2019.3.0f6, and might I add that no fields are showing in the Materials tab next to the Animation so i cant assign the material to it over there. Thanks.

    Edit: I Tested the same object in a previous Unity version 2018.2.0f2 and it works fine. :)
     
    h0neyfr0g likes this.
  6. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,278
    Yep, same issue for me. Animation clips and materials are both broken. Interestingly enough it looks like my animation tool is broken too, so it may be at the importer level, not the editor level. But I'm sure your team knows way more than I do xD

    Meanwhile, is there a way to downgrade to 2019.3.0f5? This is a huge showstopper, and I can't find it anywhere. EDIT: Ahh it was in the beta section! Here ya'll go.
     
    Last edited: Feb 6, 2020
    krullulon likes this.
  7. h0neyfr0g

    h0neyfr0g

    Joined:
    Jul 13, 2019
    Posts:
    35
    I am also experiencing this. All my previously working blender files now receive errors on importing.. Halted me in my tracks developing. Hope this bug is fixed asap.
     
  8. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,278
    I would downgrade to 2019.3.05f,which I linked above. It doesn't have this issue
     
    h0neyfr0g likes this.
  9. Ukounu

    Ukounu

    Joined:
    Nov 2, 2019
    Posts:
    208
    Same here. >_<
     
  10. thenephalem

    thenephalem

    Joined:
    Jun 1, 2017
    Posts:
    14
    Same here. T_T
     
  11. h0neyfr0g

    h0neyfr0g

    Joined:
    Jul 13, 2019
    Posts:
    35
    Thanks man, this "worked"! I had to do a bit of code cleanup, but I was able to get my file working correctly with FBX imports again. I hope Unity fixes this issue soon however.
     
    MentalGames and joshcamas like this.
  12. George-Ing

    George-Ing

    Unity Technologies

    Joined:
    Jan 14, 2020
    Posts:
    78
    Hey guys,

    Thanks for your patience - with your help we've tracked down the issue, it'll be making it in as a fix for 2019.3.

    I'll update you once it's landed.

    Thanks,
     
    joshcamas and GeorgeYR like this.
  13. GeorgeYR

    GeorgeYR

    Joined:
    Mar 8, 2018
    Posts:
    1
    Hi,

    Is this issue fixed yet?
     
  14. joshua2504

    joshua2504

    Joined:
    Jan 28, 2020
    Posts:
    6
    In latest version, it's not fixed. I've just run into the issue. Annoying.
     
  15. krullulon

    krullulon

    Joined:
    Oct 23, 2015
    Posts:
    2
    Also waiting for this fix and stuck on 2019.3.0f5 until it's in.
     
    Last edited: Feb 23, 2020
  16. BrunoBelmonte

    BrunoBelmonte

    Joined:
    Jan 16, 2013
    Posts:
    7
    Select your model than mark "Selected Objects" option on blender FBX exporter options. Only this solved the issue for me on 2019.3.1f1

    Edit: Select both your model and armature!
     
  17. ArkadiuszR

    ArkadiuszR

    Joined:
    Jan 21, 2016
    Posts:
    22
    Nope. It's not work on 2019.3.3f1
     
  18. Tehwa

    Tehwa

    Joined:
    Jul 13, 2017
    Posts:
    1
    Does anyone know when this issue will be fixed? :rolleyes:
     
  19. Costiome_07

    Costiome_07

    Joined:
    Mar 2, 2020
    Posts:
    1
    Hi,
    I encountered that issue with Unity 2019.3.0f6

    I temporarly solve the problem by open an older version of Unity (in this case 2019.1.6f1), open the animations once, and export them to the new project via unity package. Now it works.
     
  20. mutp

    mutp

    Joined:
    Oct 1, 2018
    Posts:
    79
  21. gwuwer-mms

    gwuwer-mms

    Joined:
    Jan 31, 2019
    Posts:
    5
    I still can not update Unity to 3.4.
    I 3.4 already rolled out or do I have to wait?
     
  22. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,278
    I don't think it has released yet, sadly. I'm also on the edge of my seat waiting for this patch
     
  23. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,278
    Looks like 2019.3.4f1 has solved the issue! :D
     
  24. dock

    dock

    Joined:
    Jan 2, 2008
    Posts:
    605
    it did not fix it.

    It removed the errors but Unity still doesn’t recognise or import the new animations.
     
    CloudyVR likes this.
  25. Ukounu

    Ukounu

    Joined:
    Nov 2, 2019
    Posts:
    208
    I installed Unity 2019.3.4f1 right now, and importing fbx files with multiple animations seems to work fine. I imported a model with 12 separate animations, and there are no errors thus far.