---
title: "Import an AI-generated model into Unity | Spatial Compiler"
description: "Clean and decimate a generated model, export FBX, then check scale, normals and Index Format in Unity's import settings and add a LOD Group and a collider."
canonical: https://appliedmanifold.com/mesh/ai-generated-model-to-unity/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [meshfx](https://appliedmanifold.com/mesh/)
3.  Generated model to Unity

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.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx docs →](https://appliedmanifold.com/docs/mesh/)

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](https://appliedmanifold.com/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](https://appliedmanifold.com/mesh/retopology-ai-generated-model/) 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.

05 // RELATED

## Related pages

-   [Clean up a generated model AvailableTurn a model from an AI 3D generator into a game asset: remove junk geometry, weld, reduce, rebuild UVs, bake (precompute) again, set scale and pivot.](https://appliedmanifold.com/mesh/clean-up-ai-generated-model/)
-   [Generated model to Godot AvailableBring a model from an AI 3D generator into Godot 4 as GLB, then set scale, LODs and collision in the import settings.](https://appliedmanifold.com/mesh/ai-generated-model-to-godot/)
-   [Generated model to Roblox AvailableBring a model from an AI 3D generator into Roblox Studio under the triangle cap, with SurfaceAppearance textures and simple collision.](https://appliedmanifold.com/mesh/ai-generated-model-to-roblox/)
-   [Unity polycount AvailableUnity's 65,535-vertex index limit, when to switch to 32-bit indices, starting budgets, and where to read the polycount.](https://appliedmanifold.com/mesh/polycount-unity/)
-   [LOD in Unity AvailableSet up a LOD Group in Unity by hand or from \_LOD suffixes in an FBX, pick switch points, and cross-fade between levels.](https://appliedmanifold.com/mesh/lod-unity/)
-   [Collision in Unity AvailableAdd collision in Unity with primitive colliders or a Mesh Collider that uses its own simple mesh, and when to tick Convex.](https://appliedmanifold.com/mesh/collision-mesh-unity/)
-   [meshfxmeshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.](https://appliedmanifold.com/docs/mesh/)

[All pages in meshfx →](https://appliedmanifold.com/mesh/)

[← Generated model to Godot](https://appliedmanifold.com/mesh/ai-generated-model-to-godot/)[Generated model to Roblox →](https://appliedmanifold.com/mesh/ai-generated-model-to-roblox/)

06 // FAQ

## Generated models in Unity

[All questions →](https://appliedmanifold.com/faq/)

**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.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx →](https://appliedmanifold.com/docs/mesh/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
