Edit: Paulius from Unity just updated the official Blender 2.5 thread with the version of the .py script that currently works with Unity 3.4, will be shipped with Unity 3.5 and works with Blender 2.49, Blender 2.58 and Blender 2.59, so I suggest you get that one
Old post below:
Attached is a new Unity-BlenderToFBX.py file that works with the almost released Blender 2.59. It’s a modified version of NSdesignGames’s version from this thread.
Backup and replace the original file in your “…/Unity/Editor/Data/Tools” directory and it should work.
Means it can export animation to Unity via FBX. I read on the forum that some people are having problem exporting their animation on fbx files. But thanks for the scripts.
Unity splits the actions/animations by itself and creates a nice list of animation clips on the root object, just as it should be. Works both with .fbx and direct .blend import.
The only problem I encountered was some weird Blender crashing on direct .blend import to Unity. It was related to old settings I merged from 2.57. I had to reset Blender 2.59 to factory defaults and redo my settings manually.
woodn, thank you very much! I hope Blender’s api for the fbx export is going to be stable soon, such that it is not anymore necessary to provide those scripts. But until then it’s very useful. Thanks!
@Little Angel: The offical blender builds weren’t yet available at the time, but now they are and I updated the original post. Still, the builds from graphicall.org often are further developed and include bugfixes and useful stuff earlier than the offical builds. Stuff like the uv-helpers or color palettes for vertex/weight painting or planet textures and other things that are not quite ready yet but still usable.
@saymoo It’s a script for Unity to directly import .blend files located in your assets folder. It communicates with your Blender 2.59 installation in the background, exports the needed fbx automatically and stores them in Unity without cluttering your assets folder. It’s amazingly convenient. But this script had to be updated quite a few times the last months because Blender had gone through a lot of Python API changes. This one works with the latest version of Blender 2.59. It is now obsolete, because Paulius from Unity released the official version of the script in this thread.
tried with 2.59 Unity3.3 64bit so people who still have 3.3 should upgrade. the weird thing here is that, unity 3.3 supported 2.58 fine until recently. what could cause this? A System update?
Both scripts (from this thread and Paulius’es) doesn’t work properly. Some random objects looks okay in scene view, but disapears (or won’t rotate) in game view.
Mac, Unity 3.4f05, Blender 2.59 64bit
edit: actually looks okay in “raw” game view, but resets to identity just after Play pressed.