Problem with importing blend files
I have a mobile project that I started in 2016, in Unity 5.3.3f1, I made models using Blender 2.76. I continued to develop the app until I released it at the end of 2018. I updated Blender (not so many releases) and Unity as I went - continuing to make and import new blend files - with rigs and animations. I was working on a Macbook running Sierra and then High Sierra. Since the initial release I have continued to develop the app - when I updated to 2019.1.9f1 all my blend file imports broke.
By broke I mean, they imported, but the animations now started with Armature|anim_name instead of just anim_name, and the models were all distorted on stage due to some discrepancy with the rig/avatar definition. I can make it work again - but I have not been able to do it without rebuilding the complex prefabs that wrap the models, something that has been taking up to 5 hours once I work through all the quirks - rebuild animation events etc. I have 50+ models and about 2 hours a day - so this is a big task for me as it stands.
I went to roll back to a previous version - and here is the kicker :( - When I reinstall from git - then the .blend imports no longer work in older versions of Unity either. I am not sure quite why this is, I get this error:
Blender could not convert the .blend file to FBX file. You need to use
Blender 2.45-2.49 or 2.58 and later versions for direct Blender import to work.
It may be that this error was happening for a while, but my models were already imported and so it just used the previously successfully imported models - I so I ignored it, but I can't confirm that.
I have tried to reproduce this problem in a simple file - but now I only have easy access to Macs running Mojave and the earliest version Unity I have got to run still will not import any of my blend files. So I can not recreate the working file that then breaks when opened in a newer version of Unity.
I am assuming that someone has incurred the same problems - but given the long timespan of the project, and the fact that I was working alone on a single machine - made me more vulnerable to this bug as far as I can tell.
I may just bite the bullet and continue remaking the prefabs with re-imported models (I am actually using the latest alpha - which seems to bring them in with fewer problems - which I may be able to detail if needed).
My question is? Does someone know exactly what is happening, and do they have a fix? I wish I had a small file to share, but I haven't managed to repro it outside of my large project, I do have some .blend files that I can share.
Thanks!
Reading this: https://forum.unity.com/threads/blender-files-in-unity-are-not-working-anymore.461695/ raises a question for me. Does the Unity import of .blend files depend on the current installation of blender? Do I even need blender installed for a blend file to be imported into Unity?
Reading this: https://answers.unity.com/questions/1622769/blender-could-not-convert-the-blend-file-to-fbx-fi-1.html $$anonymous$$akes me wonder why now it brings in Blender animations with the Armature| prefix - where-as before it didn't.
I think this is related - but did not fix all my problems: https://issuetracker.unity3d.com/issues/editor-throws-error-when-importing-native-blend-file-imported-file-is-not-recognized The animations are named differently, and I have to rebuild the prefabs to get the newly imported models to work.
https://forum.unity.com/threads/cant-import-blend-files-in-2019-1-worked-fine-in-2018-3.662866/ Others with a similar/overlapping problem