.gdna manifest schema¶
JSON written by the Unreal exporter (unreal/GoDNAHumanExporter, exporter.py). All file paths are
relative to the manifest file. Current format_version: 1. Bump it on any breaking change and keep this
file in sync. Unknown fields must be ignored by readers.
The exporter writes one folder per character:
<Name>/
<Name>.gdna
meshes/ # .gdignore: Godot doesn't import or list these; the importer reads them from disk
.gdignore
<Name>_body.fbx <Name>_head.fbx <Name>_outfit.fbx <Name>_hair_cards.fbx ...
export_log.txt
textures/*.png # imported by Godot as usual (the importer loads them as Texture2D)
Exporters before 0.3.0 wrote the FBX files and export_log.txt next to the manifest; such manifests still import.
Example (abridged)¶
{
"format_version": 1,
"exporter": { "name": "GoDNAHumanExporter", "version": "0.8.0-beta" },
"engine_version": "5.8.4-58902052+++UE5+Release-5.8",
"metahuman_version": "5.8",
"export_quality": "High",
"name": "Hidden",
"source_blueprint": "/Game/MetaHumans/Hidden/BP_Hidden.BP_Hidden",
"body": {
"file": "meshes/Hidden_body.fbx",
"source": "/Game/MetaHumans/Hidden/Body/SKM_Hidden_BodyMesh.SKM_Hidden_BodyMesh",
"component": "Body",
"attach_parent": "Root",
"world_transform": { "t": [0, 0, 0], "r": [0, 0, 0, 1], "s": [1, 1, 1] },
"surfaces": [ { "index": 0, "slot": "body_shader", "material": "/Game/.../MI_Body_Baked_VT.MI_Body_Baked_VT" } ],
"section_slots": [0]
},
"head": { "file": "meshes/Hidden_head.fbx", "section_slots": [8, 0, 1, 2, 3, 4, 5, 6, 7], "...": "same fields as body" },
"arkit_poses": {
"file": "meshes/Hidden_arkit_poses.fbx", "component": "Face",
"pose_asset": "/Game/MetaHumans/Common/Face/ARKit/PA_MetaHuman_ARKit_Mapping.PA_MetaHuman_ARKit_Mapping",
"source_animation": "/Game/MetaHumans/Common/Face/ARKit/AS_MetaHuman_ARKit_Mapping.AS_MetaHuman_ARKit_Mapping",
"fps": 24, "frames": 66, "neutral_frame": 0,
"poses": [ { "pose": "Default", "frame": 0, "arkit": null }, { "pose": "EyeBlinkLeft", "frame": 1, "arkit": "eyeBlinkLeft" } ]
},
"clothes": [ { "file": "meshes/Hidden_outfit.fbx", "...": "same fields as body" } ],
"grooms": [
{
"file": "meshes/Hidden_hair_cards.fbx",
"kind": "hair",
"groom": "/Game/MetaHumans/Hidden/Grooms/Hair_S_SweptUp.Hair_S_SweptUp",
"lod_index": 1,
"group_index": 0,
"binding_target": "/Game/MetaHumans/Hidden/Face/SKM_Hidden_FaceMesh.SKM_Hidden_FaceMesh",
"source": "...", "component": "Hair", "attach_parent": "Face", "world_transform": { "...": "..." },
"surfaces": [ { "index": 0, "slot": "...", "material": "..." } ],
"textures": { "Hair_S_SweptUp_CardsAtlas_Attribute": "textures/Hair_S_SweptUp_CardsAtlas_Attribute.png" }
}
],
"materials": {
"/Game/.../MI_Body_Baked_VT.MI_Body_Baked_VT": {
"name": "MI_Body_Baked_VT",
"parent": "/Game/.../MI_Body_Baked.MI_Body_Baked",
"base_material": "/Game/.../M_skin_unified_baked.M_skin_unified_baked",
"kind": "skin",
"dynamic": false,
"textures": { "Basecolor Baked VT": "textures/T_Body_BC_VT.png" },
"scalars": { "...": 0.5 },
"vectors": { "...": [1, 1, 1, 1] },
"switches": { "...": true }
}
},
"textures": {
"textures/T_Body_BC_VT.png": {
"source": "/Game/.../T_Body_BC_VT.T_Body_BC_VT",
"size": [4096, 4096], "bit_depth": 8, "channels": 4, "srgb": true, "compression": "TextureCompressionSettings.TC_DEFAULT",
"virtual_texture": true
}
},
"skipped_textures": [ { "source": "/Game/.../T_Face_..._WM1", "reason": "HDR texture ..." } ],
"skipped": [ { "part": "Fuzz", "reason": "groom component has no groom asset" } ],
"fbx_options": { "ascii": "False", "...": "every FbxExportOption property, as text" },
"options": { "keep_jaw_bone": true, "lod": 0 }
}
Top level¶
| Field | Type | Required | Meaning |
|---|---|---|---|
format_version |
int | yes | Schema version. Importer rejects unknown versions. |
exporter |
object | yes | name, version of the exporter that wrote the file. |
engine_version |
string | yes | UE version that exported. |
metahuman_version |
string|null | yes | Blueprint's MHAssetVersion tag; must be 5.6 or later. null = tag missing (exporter warned). |
export_quality |
string|null | no | Blueprint's MHExportQuality tag (High tested). |
compatibility |
object|null | no | The exporter's compatibility check: verdict (compatible or partial; an incompatible character isn't exported) and limitations, a list of {area, message, fix} (fix may be null). Diagnostics only; the importer ignores it. |
name |
string | yes | Character name (Blueprint name without BP_); used for the root node. |
source_blueprint |
string|null | no | UE asset path, for diagnostics. null when the character was exported from selected skeletal meshes. |
source_meshes |
string[] | no | UE asset paths of the selected skeletal meshes, when the character has no Blueprint (body first). Diagnostics only. |
body |
mesh | yes | Body skeletal mesh. Its skeleton is the authority. |
head |
mesh|null | yes | Face skeletal mesh (shared body bones + FACIAL_* joints). null for a character without a separate face rig: its head is part of body (and maybe clothes) and arkit_poses is null too. Its ARKit shapes then come from the body file's own morph targets when their names are known (ARKit's, Character Creator's Extended or HD set), else it has none. |
expressions |
object|null | no | kind (character_creator) and file, the Character Creator JSON exported with the FBX. Its per-expression jaw, teeth and tongue moves go into the face shapes made from morph targets. Without it, a <body FBX name>.json next to the body FBX is used if there is one. |
character_creator |
object | no | Written by the Character Creator setup: picks, the overrides it made last time, and version, the GoDNA version that made them (see Materials). Leave it alone. |
arkit_poses |
object|null | no | Baked ARKit poses (see below). null if the bake failed; the export log says why. |
clothes |
mesh[] | no | Outfit skeletal meshes (components that follow Body's pose). |
grooms |
groom[] | no | Hair-card static meshes. |
materials |
map | yes | Material asset path → material entry. Surfaces refer to these keys. |
textures |
map | yes | PNG path → texture entry. |
skipped_textures |
object[] | no | {source, reason} for textures not exported (engine, HDR, failed). |
skipped |
object[] | no | {part, reason} for components/parts not exported. |
fbx_options |
map | no | Every FbxExportOption property used, as text. Diagnostics only. |
overrides |
map | no | Changes made in Groom Studio / Outfit Studio / Skin Studio (see below). Written by the studios' Bake; the exporter keeps it when it exports the character again. |
animations |
(string | object)[] | no | Animations packed into the character (see below). Written by Animation Studio's Character Animations and the Animation Combiner's Pack. |
tracking_influence |
map | no | How face tracking drives each shape, set in Face Studio's Tracking influence (see below). Written by Bake; the exporter keeps it when it exports the character again. |
bone_map |
map | no | Which bone plays each humanoid bone, set in Map Bones (see below). Written by Map Bones in the GoDNA tab; kept when the character is exported or imported again. |
options.keep_jaw_bone |
bool | no (true) | Keep Jaw as a bone instead of collapsing it. |
options.import_motion |
bool | no (true) | Import the body file's own moving animation stacks (an iClone motion) into the character's AnimationPlayer. |
options.lod |
int | no (0) | LOD exported. Only 0 is supported. |
Mesh entry (body, head, clothes[])¶
| Field | Type | Meaning |
|---|---|---|
file |
path | FBX file. |
source |
string | UE asset path. |
component |
string | Component name in the Blueprint. |
attach_parent |
string|null | Parent component name. |
world_transform |
object | Component transform in the spawned actor, UE units: t cm, r quaternion xyzw, s scale. |
surfaces |
object[] | Per material slot: index, slot (UE slot name), material (key into materials, or null), and optionally fbx_material: the FBX material's name. When any surface has one, FBX materials match surfaces by name only and section_slots is ignored (Character Creator exports). |
section_slots |
int[] | Skeletal meshes: for each LOD0 section, the surfaces index it renders with. UE's FBX exporter writes the section index on each polygon but lists the FBX materials in slot order, so FBX material index k means surface section_slots[k]; ignore the FBX material names. The MetaHuman face is [8, 0, 1, …, 7]. |
ARKit poses (arkit_poses)¶
The face's joints evaluated by RigLogic for every frame of the ARKit mapping animation, baked in UE and exported as an FBX with the head skeleton and one keyframe per pose (no mesh). The core skins the head mesh with each frame's joints; blend shape = evaluated pose − evaluated neutral frame.
| Field | Type | Meaning |
|---|---|---|
file |
path | FBX with the head skeleton and the baked animation. |
component |
string | Component the animation was baked on (the face). |
pose_asset, source_animation |
string | UE assets the poses came from. |
fps |
number | Frame rate of the baked animation; frame N is at time N / fps. |
frames |
int | Frames in the baked animation. |
neutral_frame |
int | Frame used as the base mesh (the pose asset's Default). |
poses |
object[] | Pose asset order: pose (UE name), frame, arkit (ARKit blend shape name, or null for poses that aren't ARKit shapes, such as Default and Pose_4…). |
Groom entry (grooms[])¶
All mesh-entry fields, plus:
| Field | Type | Meaning |
|---|---|---|
kind |
string | Lowercased component name: hair, eyebrows, mustache, beard, … (the importer derives it from component when missing). |
groom |
string | UE groom asset path. |
lod_index |
int | Groom LOD whose cards are in file: the most detailed card LOD found (since exporter 0.9.1; before, the one Unreal shows at character LOD0). |
card_lods |
map | Since exporter 0.9.0. Groom LOD (as a string) → { "file", "textures" } for every card LOD of this hair group, the one in file included, and since 0.9.1 the card meshes the groom's own card list leaves out (e.g. {"0": {...}, "1": {"file": "meshes/Ada_hair_cards_lod1.fbx", ...}, "3": {...}}). A surface's lod override picks one. |
group_index |
int | Hair group within the groom. |
binding_target |
string|null | Skeletal mesh the groom is bound to in UE (the face). |
textures |
map | Texture asset name → PNG path, for card textures not reached through the material. The importer uses the entry whose name ends in CardsAtlas_Attribute as the hair shader's atlas. |
Material entry (materials{})¶
| Field | Type | Meaning |
|---|---|---|
name |
string | Material (instance) name. |
parent |
string|null | Parent material path. |
dynamic |
bool | A MaterialInstanceDynamic created by the Blueprint at construction (the face skin). Its key is dynamic:<Component>/<MID name>; treat keys as opaque. |
base_material |
string | Root material path. |
kind |
string | skin, teeth, eye, eye_occlusion, eye_lacrimal, eyelashes, hidden (drop the surface), hair, cloth, standard (read from the UE graph; has graph), unknown. |
textures |
map | Parameter name → PNG path (resolved through the instance chain). Empty for hidden. |
scalars |
map | Parameter name → float. |
vectors |
map | Parameter name → [r, g, b, a] (linear). |
switches |
map | Static switch parameter name → bool (e.g. M_fabric_simpler's DoMaterialC, B_UseAColor). Since exporter 0.3.0; absent before. |
graph |
object | Only for kind standard (since 0.10.0): the outputs read from the UE material graph, for materials GoDNA has no shader for. The importer gives the surface a StandardMaterial3D. See below. |
Material graph (graph)¶
Written for a material whose base material has no GoDNA shader, when its outputs can be read from its graph; its
kind is then standard. Materials using material attributes or with no readable output stay unknown.
| Field | Type | Meaning |
|---|---|---|
blend |
string | opaque, masked or translucent (from the base material's blend mode; additive counts as translucent). |
two_sided |
bool | The base material is two-sided. |
opacity_mask_clip |
float | The base material's opacity mask clip value (the alpha scissor threshold for masked). |
shading_model |
string | UE shading model, for reference (the importer always uses standard lit shading). |
inputs |
map | Output → input (below), for BaseColor, Metallic, Specular, Roughness, Normal, AmbientOcclusion, Opacity, OpacityMask, Emissive. Unconnected outputs are absent. |
unsupported |
string[] | What couldn't be read (an output fed by other nodes, a texture sampled with changed UVs), as log sentences. The importer repeats them as warnings. |
An input is either a texture channel or a constant:
| Field | Type | Meaning |
|---|---|---|
texture |
string | PNG path (a textures{} key) of the sampled texture. |
channel |
string | The sample's output pin: rgb, r, g, b or a. |
factor |
float|[r, g, b, a] | A constant the texture is multiplied by. Optional. |
flip_v |
bool | The image is stored upside down (Character Creator Tiling [1, -1]); the importer flips it vertically. Optional. |
value |
float|[r, g, b, a] | A constant (Constant, Constant3Vector, scalar or vector parameter) instead of a texture. |
Opacity from the base colour texture's alpha carries over as is. An Opacity / OpacityMask from another texture
is written into the albedo's alpha at import (since 0.10.0). Otherwise (a constant, or no base colour texture) the
surface imports opaque with a warning.
Materials written from a Character Creator JSON also have character_creator: mesh (the FBX mesh), shader (the
JSON's Custom Shader name) and node_type (Hair, Beard, ...), for reference, and images: the Custom
Shader's maps the hair shader uses (Hair Root Map, Hair ID Map), paths relative to the manifest. Their surfaces'
GoDNA shader picks are written as overrides (shader and uniforms, or visible: false for the eyeball under
the cornea), and a copy of them as the top-level character_creator: { "picks": { ... }, "version": "0.10.0-beta" },
which the next setup run compares with overrides to tell its own earlier picks from studio bakes. version is the
GoDNA version that ran the setup (since 0.10.0); the importer runs the setup again first when it differs.
Overrides (overrides{})¶
Optional, added by Bake in the GoDNA tab's Groom Studio, Outfit Studio and Skin Studio. Keys are the file name of a mesh
entry's file without its folder (Ada_outfit.fbx for meshes/Ada_outfit.fbx, so overrides baked before the
meshes/ folder still apply), then a surface index as a string:
"overrides": {
"Ada_hair_cards.fbx": { "0": { "material": { "hairMelanin": 0.1, "hairDye": [1, 0.8, 0.8, 1] },
"uniforms": { "roughness": 0.6 } } },
"Ada_beard_cards.fbx": { "0": { "visible": false } },
"Ada_eyebrows_cards.fbx": { "0": { "smoothing": 1, "scale": 1.02, "offset": [0, 0.002, 0.001] } },
"Ada_outfit.fbx": { "1": { "uniforms": { "color_1": [0.03, 0.07, 0.79, 1] } } },
"Ada_head.fbx": { "8": { "uniforms": { "hue_shift": 6, "brightness": 1.1 } },
"2": { "uniforms": { "iris_hue_shift": 90 } }, "3": { "uniforms": { "iris_hue_shift": 90 } } }
}
| Field | Type | Meaning |
|---|---|---|
visible |
bool | false leaves the surface out of the imported character (a mesh with no surfaces left is dropped). Default true. |
material |
map | UE parameter name → number or [r, g, b, a] (linear). Replaces the material entry's scalars / vectors before the importer converts them (e.g. hairMelanin, hairRedness, hairDye). |
shader |
string | Surfaces whose material is kind standard only (since 0.10.0): skin, eye, cloth or hair gives the surface that GoDNA shader in place of a StandardMaterial3D, with the graph's textures and values mapped into it (materials.cpp, generic_*). The eye shader finds each iris from the eye mesh; skin on a masked or translucent material uses skin_masked.gdshader, cut out by the albedo's alpha. Ignored in GoDNA Lite. The studios' Shader dropdown. |
uniforms |
map | Shader uniform name → number or [r, g, b(, a)] (colors linear). Set on the Godot material after the conversion, so they win over material (e.g. a custom hair_color). |
smoothing |
number | Groom card surfaces only: how many pieces each card segment is split into lengthwise, along a smooth curve (1 = cards as exported, up to 6). Default 2. Groom Studio's Smoothing. |
scale |
number | Groom card surfaces only: scales the cards around the centre of the groom's bounding box (all its surfaces), before they're bound to the face. Default 1. Groom Studio's Scale. |
offset |
[x, y, z] |
Groom card surfaces only: moves the cards, in metres in Godot's axes (+X the character's left, +Y up, +Z forward), after scale and before they're bound to the face. Default [0, 0, 0]. Groom Studio's Position X / Y / Z (shown in centimetres). |
lod |
number | Groom card surfaces only: imports the cards and textures of this LOD from the groom's card_lods in place of file. The overrides stay keyed by the original file. A LOD that card_lods doesn't list is ignored. Groom Studio's Cards LOD. |
Entries for files or surfaces that no longer exist are ignored. Additive and optional: format_version stays 1.
Packed animations (animations[])¶
Optional, edited in the GoDNA tab's Animation Studio > Character Animations and by the Animation Combiner's Pack.
Files are res:// paths in the Godot project (an exception to the relative-path rule: the files are made in Godot,
not by the exporter). An item is either a plain path (an Animation resource; all that GoDNA wrote before 0.10.0, and
still what it writes when no option is set) or an object:
"animations": [
"res://GoDNA/animations/combined/Walking_Bored.res",
{ "file": "res://anims/Locomotion.fbx", "animation": "Jog_Fwd", "name": "Jog", "loop": true, "in_place": true, "autoplay": true }
]
| Field | Type | Meaning |
|---|---|---|
file |
string | Required. An Animation resource, or a file imported as an AnimationLibrary (FBX, glTF...). |
animation |
string | For a library: which animation in it. Default: the first that isn't RESET. |
name |
string | The name in the AnimationPlayer. Default: the file name without extension, plus _<animation> for a library. |
loop |
bool | Loop (linear) or play once. Default: as the source has it. |
in_place |
bool | Take the root's travel on the ground out: the X and Z drift of the Root and Hips position tracks from start to end is subtracted evenly over the length, so sway and bounce stay. Default false. |
autoplay |
bool | The AnimationPlayer's autoplay animation (the first one marked wins). Default false. |
The imported character gets an AnimationPlayer child named AnimationPlayer (root node .., the character) whose
default library holds each animation. An Animation file with no loop change and no in_place is referenced, so
re-baking it updates the character without a reimport; any other is copied into the imported scene with the options
applied (the source file is never changed). They're added after Godot's
retarget options (BoneMap, Rest Fixer) have run, so their tracks are used as they are: body tracks
%GeneralSkeleton:<bone>, face tracks .:<arkitShape> and .:head_rotation. Missing files and duplicate names are
skipped with a warning. Importing the character again from the Characters drawer keeps the list. Additive and
optional: format_version stays 1.
Tracking influence (tracking_influence{})¶
Optional, added by Bake in the GoDNA tab's Face Studio (Tracking influence). ARKit shape name → how tracking drives it; shapes left as they come in (0, 1, 1) are not listed:
"tracking_influence": {
"jawOpen": { "in_min": 0.05, "in_max": 0.7, "out_max": 0.8 }
}
| Field | Type | Default | Meaning |
|---|---|---|---|
in_min |
number 0–1 | 0 | Tracked weight at or below this becomes 0. |
in_max |
number 0–1 | 1 | Tracked weight at or above this becomes out_max. |
out_max |
number 0–1 | 1 | The weight at in_max (1 = the shape as sculpted). |
Weight = clamp((w − in_min) / (in_max − in_min), 0, 1) × out_max (a step at in_min if in_max ≤ in_min). The
importer sets them as GoDNAHuman.tracking_influence (shape → Vector3(in_min, in_max, out_max)). Only face tracking
goes through it: every FaceCaptureReceiver driving the character applies it to each frame, so the face, the eye bones
and recorded takes get the influenced weights. Weights set in code or by animations (takes, combined animations) are
used as they are. Unknown shapes are ignored. Additive and optional: format_version stays 1.
Bone map (bone_map{})¶
Optional, written by Map Bones (GoDNA tab: Characters drawer > Import Report). Humanoid bone name, as GoDNA
names it in Godot (Hips, LeftUpperArm, LeftLowerArmTwist01, ...) → the character's bone that plays it, as the
files name it (Mixamo prefixes dropped, as the report lists them); "" = no bone:
"bone_map": { "Hips": "Bip01 Pelvis", "LeftUpperArm": "Bip01 L UpperArm", "Jaw": "" }
It overrides GoDNA's bone table entry by entry: a mapped bone is kept and renamed to the humanoid name, and no other
humanoid bone keeps it. An optional humanoid bone mapped to "" is left out; a required one mapped to "" counts as
missing. Names that aren't humanoid bones GoDNA keeps are ignored with a warning.
When required humanoid bones are missing (no bone of that name and no map), the import doesn't fail: every bone is
kept, the recognised ones renamed and the others under their own names (with _2, _3... if a name is taken),
and the import report lists them in unmapped so Map Bones can fix them. Grooms are left out until Head is
mapped. Additive and optional: format_version stays 1.
Texture entry (textures{})¶
| Field | Type | Meaning |
|---|---|---|
source |
string | UE texture asset path. |
size |
int[2] | Pixel size of the written PNG (read from its header; UE reports the streamed mip in-editor). |
bit_depth |
int | Bits per channel of the PNG (8 or 16). |
channels |
int | 1 (grey), 2 (grey+alpha), 3 (RGB), 4 (RGBA). |
srgb |
bool | Colour texture (true) or data (false). |
compression |
string | UE compression setting (TC_Normalmap means a normal map). |
virtual_texture |
bool | Was a virtual texture in UE. |
flip_green |
bool | Normal maps only: UE's Flip Green Channel. The PNG keeps the source data, so true means an OpenGL (green up) map. Missing or false: the importer checks the file name and pixels (core/include/godna/normal_map.h). |