Unity 2019.3 not recognizing multiple animation clips from blend files

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

5427798–552465–treasurechest.zip (85.7 KB)

1 Like

Hey AkAkAkk, thanks for providing the files.

I suspect this relates to a known issue in 2019.3f6 where imported models with animation clips may have issues importing, you can track the issue here:

But to delve a little further, how many animation clips are you expecting on your TreasureChest?

1 Like

I am expecting only one animation clip. However, the issue is also on models with multiple animation clips

Great, thanks! We’re looking into the issue.

1 Like

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. :slight_smile:

1 Like

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.

1 Like

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.

I would downgrade to 2019.3.05f,which I linked above. It doesn’t have this issue

1 Like

Same here. >_<

Same here. T_T

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.

2 Likes

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,

2 Likes

Hi,

Is this issue fixed yet?

In latest version, it’s not fixed. I’ve just run into the issue. Annoying.

Also waiting for this fix and stuck on 2019.3.0f5 until it’s in.

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!

Nope. It’s not work on 2019.3.3f1

Does anyone know when this issue will be fixed? :roll_eyes:

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.

From here -

It says its fixed in -
Resolution Note (fix version 2019.3):

Fixed in 2019.3.4f1