Unity can't import .blend files suddenly(?)

Hello,

Whenever I try to import a .blend file, I get an error saying that I need to be using Blender 2.45-2.49 or 2.58 and Later. I’m using 2.9.

I’ve reinstalled Blender and Unity. I’m not using the Steam version of Blender either - nothing worked with that.

I uninstalled Blender 2.8. Image previews in Windows 10 are working.

Screenshot is attached. I’m using Unity’s HDRP Testing project at the moment. Please tell me that is not the problem.

Thankyou.

Any help or direction would be greatly appreciated.

I have been exporting blender files with no problem over the last few days. However, you need to make sure the file is a .FBX file and not a .blend file or it won’t work.

here is a good youtube video on how to import and export files from unity to blender

Thank you. It used to work with .blend files until recently, why the change?

I have no idea, the only possible explanation is that unity or Blender decided to develop down different paths and so the complication popped up.

But it was working like, a couple weeks ago?

As far as I know, it has been a problem for a while. I don’t know your circumstances if you have recently updated your blender or unity to a new version and have suddenly started having the issue. The video I linked should fix your issue, but if it persists, you could have a 2nd older version of both Blender and unity installed, swap assets over and save the asset, then move the asset to the new version and run a fix if there are any issues. I believe both programs are mainly friendly at running older saves, with unity being the more problematic, but even then, they can be fixed fairly easily.

Ok. I understand. Thankyou, I’ll give the video a try tomorrow and see what it says.

its probably because you installed blender 2.9 but unity script is still using 2.8. You can probably manually fix it by finding a file like this

“C:\Program Files\Unity\Hub\Editor\2020.1.6f1\Editor\Data\Tools\Unity-BlenderToFBX.py”

then editing the version number. Warning though, it wont work for any other people with unity installed.

1 Like

I just encountered this problem today and I can’t figure out for the life of me why - I didn’t update unity or blender.
Yesterday I was saving .blend files and they were importing just fine. Did it today and suddenly it just won’t accept it :s

1 Like

if you double click a blend file does the correct blender open it? Windows may have broken the file association. Try reinstalling blender

After much faffing about uninstalling and reinstalling Blender and reassociating blender to open .blend files etc and still having issues in Unity I noticed there was some kind of caching issue at play because if I renamed some of my blend files that weren’t importing then they did magically start to import, or also if I e.g. made a small change to the import settings, such as setting a 1.1 scale and applying, that would also kick unity into importing them.

I resorted to nuking my projects Library/ folder and letting it reimport everything from scratch and hey presto my blend files started to import again. (Note this was also after having uninstalled all versions of blender and then I only had 2.93LTS installed via the msi installer - I’m not sure what other install combos work at this point)

2 Likes

In my case I hit this same issue again after I tried re-installing Blender 3.0

1 Like

For some reason, I started having this after installing a Blender Plugin, and it stopped when I turned that plugin off.

In my case, it was the plugin TexTools. And I’m on macOS with Unity 2019.4.31f1 and Blender 3.0. I tried playing with the python script. Nothing worked there.

I found if I watched Activity monitor, a Blender process would appear on import. And if I watched the editor.log, I saw an import start when that process appeared. If I quit the blender process, Unity would stop hanging, and the .blend would turn into a blender icon instead of a model preview. If I changed the import settings, it would nudge it back into reimporting. I seem to be OK again, and I can nudge the import settings on any of the .blend files I had import issues with.

I hope this helps someone with this. In my case, it just seems like Blender was getting hung up on an plugin. It’s strange, though, it took a bit for the hangup to happen. So I’m actually not sure the plugin was the precise issue. Maybe just saving the Blender preferences helped? Unity just decided to stop messing around? I dunno.

2 Likes

Thanks for the addition OwlBoy_, that’s good to know, we’ll watch out for that when we’re debugging in the future.

For anyone else discovering this post in the future, the main things to check are that:

  • Exporting an FBX of your model from Blender works correctly.

  • Double-clicking on a Blender file directly opens Blender.

  • You’re not on one of the very early versions of Blender 3.0 - there were some initial problems that were patched in the later versions.

I just started noticing this error. I feel like it started happening with the latest 2021.2.17
I recall issues like this back “in the day” but blender and unity has been fairly solid for some time.

Hi @GuidewireGames
Did this start as you upgraded to 2021.2.17 specifically?
What is the version of Blender do you have installed and how was it installed?
I’ve seen this happen on Windows when the file association had gone wrong, but I’m not familiar with the process on Mac.
Also, there was a problem with the very first few versions of Blender 3.0 that would have caused a similar result but a fix landed in 3.0.1

Let us know if this keeps on happening,
Thanks!

I’m running 2021.2.17 on Mac and PC.
Blender 3.1 on both.
Mac gives me the blender opening error and Windows is fine.
Blender does open initially without a model but will give the above error when trying to open again.

Hopefully I’m not subverting this thread too much, but looks like my above problem was solved by upgrading Mac OS 12.3 to 12.3.1

Looked like adobe apps were having a similar problem
https://community.adobe.com/t5/photoshop-ecosystem-bugs/p-photoshop-23-2-2-can-t-open-update-vector-smart-object-in-illustrator/idc-p/12780732

THANKYOU!!!
I was fighting this all evening and uninstalled and reinstalled unity and blender and couldnt figure this out, then saw this and realized I’d installed Textools recently too and that was what was causing the issue. :heart: