Export blender groups in FBX to use in Unity

Hi Guys.
I need to know If there is a way to Export the groups hierarchy created in blender in the FBX Format file.
I need to import It in Unity, but right now It does not keep the meshes groups when exported to Unity in a FBX.
I know i van use parenting / empty objects to accomplish It, but If i van mantain the groups hierarchy It would be Very good.
Maybe in 2.8? :grinning:
Thanks!!!

Broadly speaking, the way the export works is that Unity calls Blender to use the built-in FBX export script, so if you modify that script, you can do “something” with groups.

It’s not clear to me what exactly you want though, groups in Blender are conceptually different from groups in other applications. In particular, they’re not hierarchies. Unity doesn’t really have groups either, it just treats transform hierarchies specially for selection (which would be a nice-to-have Blender feature). Do you want to parent all objects in a group under one “empty” Unity object? What if the object is contained in multiple groups?

Blender 2.8 will bring collections, which are hierarchical, but which also don’t map cleanly to Unity, because one object also can be in multiple collections.

I know i van use parenting / empty objects to accomplish It

I think that’ll be the way to go still.

I recently released the free and open addon ‘FBX bundle’ that allows to group selected objects by group and export them in FBX bundles each.

Thread here on blenderartists

Download & Documentation
https://bitbucket.org/renderhjs/blender-addon-fbx-bundle

http://renderhjs.net/blender/fbx_bundle/overview.gif

This demo shows how you can change how objects are bundled

https://farm1.staticflickr.com/911/39763806690_594257efe6_o.gif