What gets exported¶
Unreal writes the finished Godot files straight into the project, under res://ue2godot/<same folders as in Unreal>/.
Godot only imports the textures.
Supported¶
| Unreal | Godot |
|---|---|
| Static meshes, with per-component material overrides | MeshInstance3D with a mesh .res. Meshes instanced with material overrides get a variant .res per set of overrides. Meshes painted in the level get a mesh of their own. See Vertex paint. |
| Instanced, hierarchical-instanced and foliage meshes | MultiMeshes, split into 16 m cells. Each foliage type is a Foliage3D node that can sway in the wind. See Foliage and landscape grass. |
| Landscape grass | Placed as Unreal places it, as Foliage3D nodes per grass mesh. |
| Level instances | Expanded, so each placement gets its own transform. |
| Static meshes with Simulate Physics | RigidBody3D with the mesh and its simple collision. See Physics bodies. |
| Spline meshes, including landscape splines' | MeshInstance3D with the bend baked into a mesh of its own. See Splines. |
| Splines | Path3D with Splines set to a + Path3D choice (UE2GD only). See Splines. |
| Cables (Cable Actor / Cable Component) | UE2GDCable (UE2GD only): a Path3D along the rope, drawn as a tube, simulated with Physics-enabled mesh. In Lite, a MeshInstance3D tube. See Cables. |
| Materials | StandardMaterial3D .tres, baked, or translated into a StandardMaterial3D or ShaderMaterial when a bake would lose something. Unlit materials are unshaded. Emissive strength is scaled to Godot's range (at most 10). |
| Landscapes | Mesh chunks with a baked colour texture, HTerrain terrains (Godot 4.6+) or Terrain3D terrains (Experimental, Godot 4.5+). See Landscapes. |
| Lights | Directional, point, spot and rect, close to Godot's default brightness, keeping their ratios to each other. See Lights. |
| Decals | Decal. |
| Cine cameras | Camera3D. |
| Text render actors | Label3D: text, line breaks, colour, size, alignment and scale. Godot's default font is used. |
| Niagara and Cascade particle systems | A prefab scene per system. See Niagara and Cascade particles. |
| Sky, fog, post process and exposure | WorldEnvironment. See Lights, sky and environment. |
| Skeletal meshes (Experimental) | .glb with a bone map. See Skeletal meshes. |
For every actor and component type and what happens to it, see Actor support. For what's approximate, see Limitations.
How it's converted¶
- Materials are baked with Unreal's glTF exporter. Each map is then capped to the size limit and saved as WebP or
JPEG, whichever is smaller. Constant maps become plain values, and alpha is dropped where it isn't needed. Then the
StandardMaterial3D
.tresis written. - Meshes are exported as glTF, their vertices are welded, and each is written as a Godot mesh
.reswith its materials, LODs (quadric-error simplification, with the same distance rule as Godot's importer), a shadow mesh and Godot's compressed vertex format. The Reduced and Minimal presets reduce it first. Meshes placed on their own also get a trimesh collision.reswith Collision set to Exact (or Simple, for a mesh without simple collision); Simple and Box shapes are written into the scene. - Nanite meshes become ordinary meshes, as Godot has no Nanite. With Nanite meshes at Low detail, Balanced
(the default) or Full detail, UE2GD reads the full source mesh through Geometry Script (Unreal's own glTF export
writes only the fallback) and simplifies it to at most 25k or 100k triangles, or keeps it whole; with Unreal's
fallback mesh, that coarse mesh is used. They always get LODs, even with Generate LODs off, and Mesh compression's
Reduced and Minimal don't halve them again. A source Geometry Script can't read falls back to the fallback mesh,
with a warning (
stats.meshes.nanite_fallback). - The scene
.tscnholds the mesh nodes, foliage MultiMeshes, lights, decals, cameras, particle-system instances, and a WorldEnvironment with the environment and camera attributes chosen in the settings. The directional lights, the WorldEnvironment and the volumetric FogVolume sit in an Environment node at the top of the scene; everything else keeps its Outliner folder.
Materials and meshes are converted on worker threads while the next ones bake and export.
Unreal content that's replaced¶
- Unreal's grid materials (the open-world template's
M_ProcGridfloor and its instances,WorldGridMaterialandDefaultMaterial) aren't baked: they draw their grid procedurally in world space, which a bake can't capture, and Epic's engine content may only be used with Unreal. They get Kenney's CC0 prototype textures instead (res://ue2godot/Prototype), tinted to the same brightness: a checker every 2 m in world space forM_ProcGrid, and a grid on the mesh's UVs for the other two. A texture already at that path is kept, so you can swap in your own. - Unreal's grid texture (
T_Default_Material_Grid_M, the checker behind the default material) is Epic's too: your own materials that sample it get Kenney's checker, which has the same 2×2 layout on the UVs, instead of a flat grey. They are listed underengine_texture_stand_insin the build report. Epic's other engine textures read as neutral (mid grey, or a flat normal). - Logos are left out. When a material's emissive input reaches anything named "logo" (a parameter, switch, texture
or function, such as the Mannequin's
Logo?switch), its emission isn't exported, so the material doesn't glow where the logo used to be.
Placeholders¶
With Placeholders for what can't be exported on (the default), each mesh and particle system that can't be
exported, any Niagara system with nothing convertible, and any mesh that fails to export, is replaced in the scene by
the UE2GD error icon in red: a Sprite3D that faces the camera, at the centre of what it stands in for. It is half
as tall as the thing's largest side, kept between 0.5 m and 2 m (1 m for particle systems without bounds), and a small
Label3D above it gives the node's name, the asset when known, and what failed, such as Mesh failed to export.
Find them in the scene tree by name and put the real thing in their place. With the option off, these are skipped.
The confirmation lists what will be replaced or skipped.
The icon is res://ue2godot/UE2GD_error_icon.png. If you put your own image at that path, later exports keep it.
Projects exported with an earlier version also have missing_mdl.glb, the old placeholder model; delete it once
you've exported your levels again.
Vertex paint¶
Vertex colour painted onto a placed mesh in the level (Mesh Paint) is stored on that placement, not on the mesh
asset, so every other placement of the mesh is unpainted. When a material on a placed static mesh reads vertex colour
(puddles, moss or dirt painted in, for example) and that placement is painted, UE2GD gives it a mesh of its own with
its paint, <Level>_data/painted/<actor>_<component>.res. Unpainted placements keep sharing the mesh. The summary
counts these meshes.
Only meshes whose materials are translated into shaders keep their vertex colours (baked materials don't use them), and Nanite meshes aren't checked: Unreal doesn't paint them per placement.
Generated LODs keep vertex colour, painted or the mesh's own (baked ambient occlusion, tint gradients): a simplification counts the colour it would move as error, like the shape it would move. Patches of one colour simplify freely; colour detail, such as a sharp puddle edge, only goes from LODs far enough away that it no longer shows, so a mesh with a lot of it switches LODs later.
Splines¶
Splines has the choices Off, Static rest mesh (the default), Static rest mesh + Path3D, Physics-enabled mesh and Physics-enabled mesh + Path3D. Cables has the same ones without the + Path3D choices, since a cable is always a path (see Cables).
With Splines on any choice but Off, each spline mesh component (roads, pipes, fences, and the meshes along
landscape splines) is bent along its spline in Unreal and saved as a mesh of its own,
<Level>_data/splines/<actor>_<component>.res, placed where the component is. Mesh compression, Generate LODs and
Collision apply to these meshes as they do to static meshes. With Physics-enabled mesh, each also gets a
StaticBody3D with its exact bent shape whatever Collision is set to, so characters and physics bodies stand on
roads and hit fences and pipes; the summary counts them. With Off, spline meshes become placeholders. Each component is a separate mesh, so a long road made of
many segments is many meshes.
The bending is done by Unreal's Geometry Script plugin (GeometryScripting), which UE2GD enables. If it isn't loaded, spline meshes become placeholders and the Output Log says why.
The + Path3D choices (UE2GD only) add a Path3D along each spline, for addons that follow or fill a path:
- A spline component gives a Path3D where the component is, with the spline's points, tangents (as the curve's handles), roll (as tilt) and closed loops. Linear and constant points become straight segments.
- Landscape splines, and spline meshes placed without a spline, give a Path3D along their spline meshes, joined end
to end (
<actor>_Path).
In UE2GD Lite the + Path3D choices export as their plain mesh choice.
Cables¶
With Cables on any choice but Off, each Cable Component (the Cable plugin's rope, as in a Cable Actor) is
exported hanging as it comes to rest. UE2GD lets the rope settle once, solved as Unreal solves it with the same
length, segments, substep, solver iterations, stiffness, gravity scale and cable forces, and writes the hanging rope
as a tube with the cable's width, sides, material and material tiling, <Level>_data/cables/<actor>_<component>.res.
Its end follows Attach End and End Location, on the component it's attached to (the actor's root when none
is set), or hangs free when Attach End is off.
In UE2GD (not Lite), each cable is a UE2GDCable (res://ue2godot/Cable/ue2godot_cable.gd): a Path3D whose curve
is the rope, with the exported tube as its Mesh child. The rope, its path and its collision are one thing:
- The curve is the rope. It runs through the rope's particles (a Catmull-Rom curve), and the script draws the tube along it. Reshape the cable in Godot with the path handles and the rope follows; Reset (in the Inspector) puts it back as the curve has it.
- Segments and length come from the curve. Segments 0 (the default) puts a particle at each curve point;
more resamples the curve evenly. The rope's length is the curve's plus Slack (more sags further, less pulls
it tight);
get_length()gives it. - Ends. The start is held at the curve's first point and the end at its last; point End Node at another node to make the end follow it (held at End Offset in its space). Attach Start and Attach End let either end hang free.
- Solid. With Collision on (the export setting), the rope is a chain of capsules, one per segment, each an AnimatableBody3D on Solid Layer that follows the rope: characters and physics bodies hit it and stand on it, and are carried as it swings. Turn Solid off for a rope nothing touches. The tube's exact trimesh isn't used: it would stay where the rope was exported once the rope moves.
- Look. Width, Sides, Tile and Material (empty: the
Meshchild's) set the tube. TheMeshchild keeps its shadow and material overrides; the script draws over its mesh, so nothing it does is saved with the scene.
With Static rest mesh, the rope stays as the curve has it (Simulate off).
Cable physics¶
Unreal simulates a cable while the game runs. With Physics-enabled mesh (the default; UE2GD only), UE2GDCable simulates it the same way in Godot: a verlet rope solved in fixed substeps, with the cable's settings above, plus Enable Stiffness, Enable Collision and Collision Friction. It starts in the exported shape, which is already the shape it rests in, so nothing moves when the game starts. Move the cable node or its end node and it swings; it simulates in the editor too.
- The path follows the rope. In the game the curve moves with the rope, so a PathFollow3D on the cable rides it as it swings. In the editor the curve stays the rest shape while the tube moves, so the scene never saves a rope mid-swing and the path handles keep editing the rest shape.
- Sleeping. Once a cable is still it stops simulating and costs nothing, until its start or end moves, one of its
properties changes, a moving physics body comes near it (with collision on) or
wake()is called. Awake, a 10-segment cable costs about 0.03 ms a frame (more with collision); between physics steps it is drawn interpolated. - Collision. With Enable Collision (the cable's Collision property), the rope's particles are spheres the cable's width that rest on, drape over and slide along physics bodies (in Collision Mask) and are pushed by moving ones. The rope doesn't push bodies back, as in Unreal.
- Damping. Unreal's rope has none and swings until its solver calms it; Damping (0.6) lets it come to rest in a few seconds so it can sleep. Set it to 0 for Unreal's swing.
The collision approach (sweeping each particle and pushing it out of what it overlaps after every constraint pass, then cancelling its speed into the surface) follows Danikakes' Rope3D (MIT).
In UE2GD Lite, a cable is a fixed tube mesh (a MeshInstance3D) with trimesh collision when Collision is on; it doesn't swing and has no path.
Water¶
Unreal draws water with its renderer (the Single Layer Water shading model): the scene behind the surface is darkened
by depth, refracted and reflected. The material graph only feeds it numbers, so neither a bake nor a translation looks
like water. With Water set to Realistic (the default), a water material is written as a ShaderMaterial on
UE2GD's water shader, res://ue2godot/Water/ue2godot_water.gdshader (from smallcableboi's
CC0 water shader),
which does the same in Godot: depth absorption, refraction and screen-space reflections.
A material is water when it uses Single Layer Water, or when it is translucent, named like water (water, ocean,
river, lake, pond, sea) and pans a normal map. The graph is read for its colours, the depth its colour fades over,
its ripple normal maps with their tiling and panning, and its roughness; what it does beyond that is left out. The
summary counts these materials and build_report.json lists them under materials_as_water. The shader works on
surfaces facing up only, so a water material on a waterfall or other steep surface is converted as usual. Its
settings are uniforms in the material, and an edited copy of the shader is kept on re-export (an unedited one from
an earlier UE2GD is updated). In a project with physical light units, the material's emission_scale undoes the
exposure Godot applies to emission; set it to 1 if you turn them off.
Toon uses hgouveia's Toon Water Shader (MIT), a Godot port
of Erik Roystan Ross's Toon Water, instead: res://ue2godot/Water/ue2godot_water_toon.gdshader. Its colour goes from shallow to deep with the depth of
the scene behind, and moving foam shows where the noise rises above a cutoff, wider near the shore. The shallow and
deep colours are the graph's brightest and darkest, so the water keeps Unreal's tint; everything else (foam,
distortion, noise scrolling) is the shader's defaults, and all of it is uniforms in the material. Its noise
is two default FastNoiseLite textures (toon_water_surface_noise.tres and toon_water_distort_noise.tres next to
the shader, made by Godot when the project loads; edited ones are kept on re-export). The noise follows the mesh's
UVs, its tiling (surface_noise_tiling) 1 × 1 on a 10 m plane (the shader's 1 × 4 streaks the foam one
way) and scaled with the plane's size, so ten times that on a 100 m one. None bakes water like any other material.
Foliage backlight¶
Leaves and grass in Unreal often use the Two Sided Foliage or Subsurface shading model, which lets light
through from behind in the material's subsurface colour. UE2GD writes that as Godot's backlight: translated shaders
set BACKLIGHT from the graph's subsurface colour, and baked StandardMaterial3Ds turn on Backlight with it.
A baked material whose subsurface colour is drawn by textures or maths gets a white backlight instead, and
build_report.json lists it under materials_baked_with_losses. The summary counts backlit materials.
Physics bodies¶
With Physics bodies on (the default), a static mesh with Simulate Physics becomes a RigidBody3D named after
it, with the mesh (Mesh) and its collision shapes under it:
- Shapes come from the mesh's simple collision. Boxes, spheres and capsules become BoxShape3D, SphereShape3D and CapsuleShape3D. If the mesh has convex hulls (or tapered capsules), every shape becomes a ConvexPolygonShape3D instead, because Unreal only lets Geometry Script read hulls, by turning them into triangles. A mesh with no simple collision, or set to use complex collision as simple, gets a box around it, and the Output Log says so.
- Mass is Unreal's: the override when Mass (kg) is set, otherwise worked out as Unreal does from the shapes' volume and the physical material's density.
- Linear and angular damping replace Godot's project defaults rather than adding to them. Enable Gravity off sets the gravity scale to 0, and Start Awake off starts the body asleep.
- Physical material: the component's override, else the mesh's, gives a PhysicsMaterial with its friction and restitution (as bounce). Without either, Godot's default material is used.
A physics body can't be scaled in Godot, so the mesh's scale goes to the Mesh node and into the shapes' sizes.
Trimesh Collision isn't added to these meshes, as Godot only allows it on static bodies.
Reset world origin¶
Positions carry over as they are in Unreal, so a level built far from Unreal's origin is just as far from Godot's. With Reset world origin on, the whole level moves so its centre is at Godot's origin and its ground at height 0:
- The centre is the middle of the level's landscapes, and the ground is their lowest point. A level without landscapes uses the middle and the bottom of its actors, World Partition actors included, leaving out the farthest 5% on each side so a sky sphere or a stray actor doesn't pull it off.
- It's rounded to whole metres (with Terrain3D, the centre to the landscape's vertex spacing as well).
- Everything moves together: meshes, foliage, landscape grass, landscapes, lights, decals, cameras, particles and the height fog.
The summary shows the Unreal point that is now at Godot's origin (in metres), and the Output Log logs it in
centimetres (UE2GD: reset world origin: ...). To line up something placed later from Unreal coordinates, subtract
that point.
Terrain3D can only hold regions near the origin. A landscape too far out for it is skipped with a warning; Reset world origin can bring it in.
Project layout¶
Every asset goes under res://ue2godot/ at the same path it has in Unreal, without /Game: a material at
/Game/Pack/Materials/MI_Rock becomes res://ue2godot/Pack/Materials/MI_Rock.tres.
<Godot project>/
project.godot
ue2godot/
<same folders as in Unreal>/
<Level>.tscn # the level's scene
<Level>_data/
build_report.json # see Build report
build_report.md # the same, to read
splines/ # spline meshes, bent (see Splines)
painted/ # meshes painted in the level (see Vertex paint)
cables/ # cable tubes (see Cables)
... # meshes, materials, textures and Niagara systems, each at its own Unreal path
Sky/ # the sky shaders (Sky++, Toon, Unreal HDRI)
Water/ # the water shaders and toon water noise textures (see Water)
Particles/ # the script playing a particle system's emitters together
Cable/ # the cable simulation script (see Cable physics)
Icons/ # the Scene tree icons of UE2GD's node scripts
Prototype/ # CC0 textures for Unreal's grid materials
UE2GD_error_icon.png # the placeholder icon
_cache/
assets.json # what was exported, for repeat exports
build_<Level>.bat # imports the textures, then opens the editor
addons/terrain_3d/ # Terrain3D landscapes only
addons/zylann.hterrain/ # HTerrain landscapes only
Repeat exports¶
Unreal keeps a record of what it exported in ue2godot/_cache/assets.json. On a repeat export into the same project
it skips anything that hasn't changed and whose files are still there, and updates the level's files in place. Turn
off Reuse unchanged assets to write everything again.
An edited copy of the sky or water shader is kept on re-export, and so are your own placeholder icon and prototype textures.