System Information
Windows 7, AMD 7870 graphics card, AMD FX6300 processor, 16gb RAM, 500GB hard-disk.
Blender Version
Broken: 2.71.6 (2.72 test version)
Short description of error
I am trying to export Skeletal meshes with blend-shapes out of Blender and into Unreal Engine 4.4.1. I noticed that the FBX file produced in the latest test version of Blender was causing UE4 to crash under certain circumstance, and therefore produced as simple a file as possible (a sphere with a skeleton and a couple of squash-stretch variations for blend-shapes). One area that I have immediately noted is that the smoothing (now defaulted as 'None' in the export options - which suggests that the developers may well be aware of the issue), when set to 'Edge' or 'Face' will create a file which neither Unreal, nor Autodesk's FBX converter want to touch (the latter coming up with the 'Not enough parameters' error).
Exact steps for others to reproduce the error
- Create a sphere and scale it to size 50 (Unreal needs things big)
- Create two duplicates and place them either side of the original. Scale them so that the first is tall and thin, while the other short and wide.
- Bind the duplicates to the original as shape Keys.
- Go into edit mode on the original sphere and select the centre ring of edges around the sphere. Apply both Edge sharpening and edge seems to this selection. Select all edges/face and do a quick UV unwrap.
- Check the edge sharpening with an Edge Split modifier, and the UVs with the UV panel. If all good, delete the former and close the latter.
- Create a new armature bone at the origin of the scene and, in edit mode, move the end of the bone up near the tip of the sphere. Extrude out a second bone straight upward to just outside of the sphere. (UE4, when it has problems with weights, defaults to the root bone, so I added a second to check whether the weighting was coming out correctly).
- bind the mesh to the skeleton with zero weighting.
- Go into the weight painter and paint a coat of pure red (100% weighting) to the second bone in the hierarchy
- Do a quick animation on the armature; swinging the topmost bone back and forth and dropping a few keys on the timeline.
- Key some blend-shape animations (say, short and fat for 20 frames, tall and thin for 20, then back to normal).
- Select both the armature and the Sphere mesh in the scene (but not the other meshes, lights or cameras, if you haven't already deleted them)
- Go to Export > FBX and set the option for 'Selected Objects' only, and change the axis to 'Y Forward' and 'Z up' (this is what Unreal likes).
- Repeat step 12, creating a second file (with '_smoothing' appended on the end of the name) and with the option for 'Smoothing' set to 'Face'.
14.Try opening these files in Unreal and/or FBX converter 2013. The first will open fine, animate and deform fine, but give a warning about lacking smoothing groups when imported into Unreal (and therefore look a bit mushy in the editor). The second will crash Unreal and fail to be converted into a FBX 2013 ASCII file in the converter (so I can't even read it to work out what is going wrong).
Thank you so much to the Developers for their continued efforts to improve the FBX format: it really is massively, massively appreciated for game developers with Zero budget. I dislike pointing out the failings in your work, but only hope that highlighting these niggles while the software is in it's infancy, will boost its expected excellence when it launches proper. I look forward to the day when god-awful cut down software for dummies, like Maya LT, will no longer be the only option for the Indie game developer of distinction.
I hope that you can fix this, and make the FBX Exporter truly awesome.
Thanks alot.