Groom exporter for Unreal Engine

Hey I bought this addon it seems to be working however, I’m having trouble separating selection of hair curves to designated Group IDs is there a way to do that in this exporter or an example that you can show?

I have say 4 different hair curve groups but out of the selection I want 2 of them in Group ID 0 and the other 2 in Group ID 1, instead of each being Group ID 0,1,2,3 how would I go about doing that? Currently it just groups the selection in array order

You edit the data on geometry nodes, the addon can only take the data and export it on the alembic file; you can see the values on the spreadsheet panel, the way to edit the individual hair curves can be specific to your project

Hi, I encountered some problems when using this addon. After exporting rootuv to unreal, it seems that part of the uv is broken

So a question regarding the root_uv.
If made a groom in Blender - using the Particle generated Hair.
grafik

While i can straightforward export this as alembic file (but seems not keeping the root_uv or vertex colors) - i cant use your AddOn right away (becaue i want to keep the root_uv).
So i thought i can convert the particle into curves - but i guess that alllrdy in the converting process it looses the root_uv´s (wich are there aslong beeing a particle based hair)
any workaround ?

Does it have UVs?

Hi Turbo. Does anybody got it working using the new Blender 3.5 hair node system with UE 5.1?
Im getting this error: Python: Traceback (most recent call last):
File “C:\Users\lucia\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\GroomExporter\AlembicGroomExporter.py”, line 50, in execute
return create_file(context, self.filepath, self.groom_scale)
File “C:\Users\lucia\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\GroomExporter\AlembicGroomExporter.py”, line 57, in create_file
WriteAbcContent(context, oarch, groom_scale)
File “C:\Users\lucia\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\GroomExporter\AlembicGroomExporter.py”, line 70, in WriteAbcContent
loc_origin = curvesObjects[0].data.surface.location
AttributeError: ‘NoneType’ object has no attribute ‘location’

the curves asset needs to have a parent, its needs to be the mesh (skeletal mesh) the position its relative to the parent, and its needed to build a correct binding on unreal.

I replicated the issue, I do not know a method to passthrough conversion the uv map coordinates, its possible but I dont have something who helps at this moment

your blender version was 3.5 or 3.5.1 when the issue appeared? with the version 3.5.1 I have replicated the issue.

I updated a fix on the addon. it fix blender version 3.5.1, from the curves asset the surface and surface_uv_map are empty on Python. On a function, it tries to get the surface if not the parent if not a default location.
I will check the issue from blender code side.

Hi, I noticed you wrote on gumroad this addon does not support animation? If I have animated mesh with hair on it, it won’t work?
Also, any chance it could work with this for keyframed hair?

Hi! Im working to find a way to get color info fo rfur into unreal from blender. Found your addon and have tried following directions with multiple versions of blender with multiple objects, but the groom does not export, instead i get an error:

Python: Traceback (most recent call last):
  File "C:\Users\cwhit\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\GroomExporter\AlembicGroomExporter.py", line 50, in execute
    return create_file(context, self.filepath, self.groom_scale)
  File "C:\Users\cwhit\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\GroomExporter\AlembicGroomExporter.py", line 57, in create_file
    WriteAbcContent(context, oarch, groom_scale)
  File "C:\Users\cwhit\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\GroomExporter\AlembicGroomExporter.py", line 70, in WriteAbcContent
    loc_origin = curvesObjects[0].data.surface.location
AttributeError: 'NoneType' object has no attribute 'location'

would love some help because it looks like you are my only hope!

OK after looking carefully, it apepars I am unable to install the dependencies. I have unzipped the folder for the plugin but I am still unable to install dependencies.

Hello everyone, I have the same problem,

loc_origin = curvesObjects[0].data.surface.location
AttributeError: ‘NoneType’ object has no attribute ‘location’

So great job,very thank you kind generosity
bind and group id is good work

1 Like

I can’t find the export button in any version

Unlike other YouTube tutorials and user manuals, there is no button to press.

The first button is for autocompleting some of the panels on the specific hair curves, was extremely helpful on bodies with multiple hairs and different settings on the simulation on unreal.
That second button is the one that exports, until today I haven’t checked the addon on 4.1 and it will not work,
you can do the last part of the export with a version of blender 4.0 (open a copy of the scene, to avoid data loses on conversions)(its a bad solution but it could do the job)
the addon depends on a custom python library for export on alembic and the version of python has changed from 3.10 to 3.11, I will look on what I can do, I suffered a code burning while compiling it by myself the pyalembic library. (for a moment like this was needed and I needed the py alembic viewer)

I will make time to get something who works on blender 4.+

if you are not on blender 4.1 and it not work reinstall the addon with the library preinstalled, I could see now a glimpse of blender 3.6 but maybe its an error

I tried downloading it on another computer just in case, but the “Button Export” was still deleted.

If I need Python libraries and PyAlembic, what else do I need to download?