Importing a model
How to import any type of model.
読み終わるまでの所要時間 6 分最終更新 14日前
Model files can contain a variety of data, such as meshes, animation rigs and clips, materials, and textures.
Unity's primary support for model files is the FBX format. However, you can save your 3D files from most common 3D modeling software in their native format (for example, .max, .blend, .mb, .ma). When Unity finds these file types in your folder, it calls your 3D modeling software's FBX export plug-in, and imports the file. The 3D modeling software must be installed on the same computer as Unity, so in most cases it's best practice to directly export as FBX from your application into your folder.
AssetsAssetsAdjusting model settings
To open a model's Import Settings, select the model from the Project window. The Inspector then displays the Import Settings for the selected model.

The Import Settings window
Rig and animation settings
If your file contains animation data, you can set up the rig with the Rig tab and then extract or define Animation Clips with the Animation tab. The workflow differs between humanoid and generic animation types because Unity needs the humanoid's bone structure to be specific, but only needs to know which bone is the root node for the generic type. For more information, refer to Importing a model with humanoid animations and Importing a model with non-humanoid (generic) animations.
Importing materials
If your file contains materials and textures, you can define how you want to deal with them:
- Select a model file from the Project window.
- In the Inspector, select the Materials tab.
- Use the Material Creation Mode drop-down menu to choose how you want to import the materials from the FBX file.
Importing textures
Unity follows a specific search pattern to automatically look for textures on import. First, the importer looks for a subfolder called within the same folder as the mesh, or in any parent folder. If the Search Textures Globally option is enabled, and the texture is not found near the model, Unity also performs an exhaustive search of all textures in the project. This is legacy behavior and can produce non-deterministic results when multiple textures share the same name.
TexturesFor newly imported assets, Search Textures Globally is disabled by default. Existing assets imported with previous versions of Unity retain the previous behavior (enabled) for backward compatibility. You can change this setting on the Materials tab of the model import settings.
Importing normal maps
If you have a character with a normal map that was generated from a high-polygon version of the model, import the game-quality version with the Smoothing Angle property set to 180°. This prevents odd-looking seams in lighting due to tangent splitting. If the seams are still present with these settings, choose the Calculate Legacy With Split Tangents setting from the Tangents drop-down menu. If you're converting a grayscale image into a normal map, you don't need to do this.
Importing blend shapes
Unity supports blend shapes (morphing) and can import blend shapes from FBX and DAE files exported from 3D modeling applications. You can also import animation from FBX files. Unity supports vertex-level animation for blend shapes on vertices, normals and tangents.
Skin and blend shapes can affect meshes at the same time. When Unity imports meshes containing blend shapes, it uses the component instead of the r component, regardless of whether it has skin or not.
SkinnedMeshRendererMeshRendereUnity imports blend shape animation as part of regular animation and animates blend shape weights on skinned mesh renderers.
To import blend shapes with normals perform one of the following:
- Use the normals from the FBX file. In the Model tab, set the Blend Shape Normals property to Import.
- Use the same logic to calculate normals on a mesh and blend shapes. In the Model tab, set the Blend Shape Normals property to Calculate.
Importing visibility properties
Unity can read visibility properties from FBX files with the Import Visibility property. Values and animation curves can enable or disable MeshRenderer components by controlling the property.
Renderer.enabledVisibility inheritance is true by default but can be overridden. For example, if the visibility on a parent mesh is set to 0, all the renderers on its children are also disabled. In this case, one animation curve is created for each child's property.
Renderer.enabledSome 3D modeling applications either don't support or have limitations with visibility properties. For more information refer to Support for proprietary model file formats.
Camera support
The following properties are supported when importing cameras from an FBX file:
Property | Description |
|---|---|
| Projection mode | Orthographic or perspective. Doesn't support animation. |
| Field of View | Supports animation. |
| All Physical Camera properties | If you import a Camera with Physical Properties (for example, from Maya), Unity creates a Camera with the Physical Camera property enabled and the Focal Length, Sensor Type, Sensor Size, Lens Shift, and Gate Fit values from the FBX file. Note: Not all 3D modeling applications have a concept of Gate Fit. When not supported by the 3D modeling application, the default value in Unity is None. |
| Near and Far Clipping Plane distance | Unity doesn't import any animation on these properties. When exporting from 3ds Max, enable the Clip Manually setting; otherwise the default values are applied on import. |
| Target Cameras | If you import a Target Camera, Unity creates a camera with a LookAt constraint using the target object as the source. |
For more information, refer to Camera Inspector window reference.
Light support
The following light types are supported:
- Omni
- Spot
- Directional
- Area
The following light properties are supported:
Property | Description |
|---|---|
| Range | The FarAttenuationEndValue is used if UseFarAttenuation is enabled. FarAttenuationEndValue does not support animation. |
| Color | Supports animation. |
| Intensity | Supports animation. |
| Spot Angle | Supports animation. Only available for Spot Lights. |
Limitations
Some 3D modeling applications apply scaling on light properties. For instance, you can scale a spotlight by its hierarchy and affect the light cone. Unity doesn't do this, which can cause lights to look different in Unity.
The FBX format doesn't define the width and height of area lights. Some 3D modeling applications don't have this property and only allow you to use scaling to define the rectangle or disc area. Because of this, area lights always have a size of 1 when imported.
Targeted light animations aren't supported unless their animation is baked.
Using a model file
To add a model file to your scene perform one of the following actions:
- If the model contains a mesh, drag the file into the Scene view to instantiate it as a prefab for a GameObject.
- If it contains Animation Clips, drag the file into the Animator window to use in the State Machine. You can also drag the animation directly onto an instantiated Prefab in the Scene view. This automatically creates an Animation Controller and connects the animation to the model.