FBX export: Custom properties appear to not be exporting #40308

Closed
opened 2014-05-22 04:30:26 +02:00 by Mitchell Stokes · 10 comments

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.

custom_prop_export.blend

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. [custom_prop_export.blend](https://archive.blender.org/developer/F89644/custom_prop_export.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Bastien Montagne was assigned by Mitchell Stokes 2014-05-22 04:30:26 +02:00
Author
Member

Added subscriber: @Moguri

Added subscriber: @Moguri

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?

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?

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/)?

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/)?
Author
Member

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.

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…

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…

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Closing for now, until we get further info.

Closing for now, until we get further info.

Added subscriber: @romrome

Added subscriber: @romrome

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
	}
}
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 } }
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#40308
No description provided.