meshfx // GENERATED MODELS // UNITY

How to get an AI-generated model into Unity

To bring a model from an AI 3D generator into Unity, clean and decimate it in your 3D editor, export FBX, and drop it into your Assets folder. In the model import settings, check the scale, normals and Index Format and extract the materials, then add a LOD Group and a simple collider before you save it as a prefab.

pyrofx effects work today, and new accounts start with $5 of usage.

MODULE // meshfx AVAILABLE

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the Playground.

  • Format: FBX
  • Check Scale Factor and Normals
  • Repack roughness as smoothness for URP

01 // BY HAND

Import settings that matter for a generated model

  1. Export FBX from your editor with scale applied. Unity's built-in importer reads FBX and OBJ, and a GLB needs a glTF import package.
  2. Select the model in the Project window. On the Model tab, check Scale Factor and Convert Units, and compare the model with a default 1 m cube.
  3. Set Normals to Import if you fixed them in your editor, or to Calculate with a Smoothing Angle near 60 if the generator's normals look faceted.
  4. Leave Index Format on Auto, so a dense mesh above 65,535 vertices still imports as one piece.
  5. On the Materials tab, extract the materials and textures, and set the normal map's Texture Type to Normal map.
  6. Drag the model into a scene, add a LOD Group and a Box or Mesh Collider, and save it as a prefab.

02 // MATERIALS

Rebuild the material for URP

Generated models usually come with a color texture and sometimes roughness, metallic and normal maps. URP's Lit shader reads metallic from the red channel of its Metallic Map and smoothness from that map's alpha, and smoothness is roughness inverted. Invert the roughness map in an image editor and put it in the alpha channel of the metallic map before you assign it.

03 // WHEN IT ANIMATES

When the model has to animate

Unity has no retopology tool, and a generated character's triangles do not follow its joints, so it creases badly once a skeleton bends it. Retopologize it in your 3D editor before you attach it to a skeleton. A static prop only needs decimation.

04 // meshfx

meshfx for generated model to unity

meshfx measures holes, flipped faces and non-manifold edges. Each repair is checked against the source and undone with a warning if it moves the surface too far. Hosted meshfx runs are available in the Playground.

06 // FAQ

Generated models in Unity

All questions →

README.AI_GENERATED_MODEL_TO_UNITY
How do I optimize an AI generated model for Unity?

Reduce it to your budget, rebuild its UVs, compile the textures and export FBX. In Unity add a LOD Group and a primitive or convex collider.

Why are parts of my AI generated model invisible in Unity?

Those faces have normals pointing inward, so Unity culls them as back faces. Recalculate normals in your 3D editor, check for negative scale and export again.

Can Unity retopologize an AI generated model?

No, Unity has no built in retopology. Retopologize in your 3D editor, export FBX again and reimport over the same asset to keep its import settings.

How do I fix missing UVs on an AI generated model for Unity?

Unwrap and compile in your 3D editor because Unity cannot create texture UVs. Generate Lightmap UVs only builds a second UV set for compiled lighting.

Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

All effects, guides and explainers →