Page MenuHome

Custom properties from blender fail to appear in unity when exported as an FBX
Closed, ArchivedPublic


System Information
Operating system and graphics card
windows 10,
nvidia 960m

Blender Version

Short description of error
When exporting FBX from blender, custom properties do not appear in unity. these do appear properly when exporting from maya on my computer, and do appear when reimporting the fbx into a new blender scene.

Exact steps for others to reproduce the error
create new blender scene, add an object, give it a custom property, name the property and object, keyframe the object as well as the property, export to FBX, click on custom property checkbox in blender, import FBX to Unity, enable custom animated paramter checkbox in unity, bring FBX into unity scene, add animator controller, add motion, open animation window, observe that the custom property does not appear as it would with an FBX from maya



Event Timeline

Philipp Oeser (lichtwerk) claimed this task.
Philipp Oeser (lichtwerk) triaged this task as Normal priority.

Havent checked code yet (nor Unity), but it appears that custom props animations don't come over (even from Blender <> Blender).
Will have a look shortly...

Thanks for looking into this philipp

it appears that custom props animations don't come over (even from Blender <> Blender)

I'm not sure whether it is relevant to mention this as you probably already know, but I believe that the majority of these custom props won't be able to drive animations in Unity as they would in Blender without setting up new constraints in unity as the contstraints / drivers do not seem to be embedded in FBXs (maya or blender) unless the prop is driving something that is independently recorded to animation like a bones rotation. Not sure whether this behaviour is also intended for blender or whether I am correct about everything in this comment.

best of luck to you!

I've also noticed (and again not sure if this is useful) that when importing the FBX into Maya the custom property does appear, but as you noticed with Blender<>Blender, the values animations are lost (in contrast to the variable seeming to not appear at all in Unity)

Bastien Montagne (mont29) closed this task as Archived.

Animation is only supported for a few basic things in Blender FBX IO (mostly basic transformations, plus a few extras like shapekeys…). Thanks for the report, but this is not a bug, we can only support that proprietary Autodesk format to some limited level.