Page MenuHome

FBX export: Custom properties appear to not be exporting
Closed, ArchivedPublic

Description

I cannot seem to get the "Custom Properties" option to do much. Unity doesn't seem to detect any custom properties (I'm using a script to check), and importing the FBX file into Blender does not give me any custom properties either.

Event Timeline

Will recheck, but this was implemented from a user request which confirmed me it was working… And Blender importer does not handle custom props at all, afaik?

Bastien Montagne (mont29) lowered the priority of this task from 90 to Normal.May 22 2014, 9:58 AM
Bastien Montagne (mont29) triaged this task as 30 priority.May 22 2014, 12:24 PM

I really need more info/testing here. One thing is sure, custom props are in FBX data, and the guy who requested them said they were working (was at least one or two months away, did not changed anything in this simple code since then). They did not used Unity, however, iirc, but their own pipeline mixing maya and own tools, or something like that…

Also, don’t really know how to use them with Unity, but it sounds a bit complicated (see e.g. http://docs.unity3d.com/Documentation/ScriptReference/AssetPostprocessor.html and http://unitycoder.com/blog/2014/01/01/3dsmax-get-custom-properties-from-fbx-model/)?

Okay, it helps to know that the importer doesn't import the custom data. I tried using the AssetPostprocessor in Unity to check for assets with custom data, but it didn't find anything.

Hrrm… would you happen to have a simple FBX file with custom props you know as working under Unity? Else I really do not see what I can do…

Bastien Montagne (mont29) changed the task status from Unknown Status to Unknown Status.Jun 1 2014, 5:21 PM

Closing for now, until we get further info.

Custom Properties do not seen to be exported with Materials

exported with Maya it look like this:

Material: 816193296, "Material::lambert1", "" {

		Version: 102
		ShadingModel: "lambert"
		MultiLayer: 0
		Properties70:  {
			P: "AmbientColor", "Color", "", "A",0,0,0
			P: "DiffuseColor", "Color", "", "A",0.5,0.5,0.5
			P: "DiffuseFactor", "Number", "", "A",0.800000011920929
			P: "CustomP", "KString", "", "U", "Custom Value"
			P: "Opacity", "double", "Number", "",1
		}

}