Supported asset type reference
Reference of asset file formats that Unity can import in your projects.
読み終わるまでの所要時間 6 分最終更新 4日前
Unity supports many different types of assets and most common image file types. It uses asset importers to process and convert external files into assets you can use in your project.
Unity supports the following kinds of files:
- 3D model files: Unity supports standard and proprietary model file formats. Internally, Unity uses the FBX file format as its importing chain. For a list of supported files, refer to 3D model importers.
- Image files: Unity imports image files as textures and supports most common image file types. For a list of supported files, refer to Image importers.
- Audio and video files: Unity supports many audio and video file formats. For a list of supported files, refer to Audio and video importers.
- Shader files: Unity supports different shader file types depending on the graphics pipeline you're using. For a list of supported files, refer to Shader importers.
- Text and arbitrary data: Unity can import arbitrary data from files such as .html, .xml, .json files, which you can use to store and use data from external sources. For a list of supported files, refer to Text and arbitrary data importers.
- Plug-ins and code related assets: You can add managed and native plug-ins files into your project to expand the functionality of your application, and assembly definitions to create and organize your scripts into assemblies. For a list of supported files, refer to Plug-ins and code importers
- Native assets: There are a range of asset types that are native to the Unity Editor. For a list of supported files, refer to Native asset importers.
Asset importers
Unity uses importers to process and convert external files into assets that can be used in your project. Each file type has a corresponding importer that handles its specific requirements.
Unity supports many asset file types via its collection of built-in importers. Most of these importers are implemented in the Unity Editor's native code. They provide the import functionality for most of Unity's basic asset types, such as 3D models, textures, and audio files.
Most importers have a corresponding class in the namespace that exposes the same configurable import settings as the Inspector window for the asset type. They also have corresponding pre-process and post-process callbacks on the class so you can define custom behavior to run before or after asset import. For example, the import settings for the are configurable in the Audio Clip Inspector window or from code with the class. You can also create custom pre-import or post-import behavior for audio assets with and respectively. This pattern applies for most major asset types.
UnityEditorAssetPostprocessorAudioImporterAudioImporterAssetPostprocessor.OnPreprocessorAudioAssetPostprocessor.OnPostprocessAudio3D model importers
Unity uses the FBX file format as its importing chain. For a list of 3D modeling software that Unity supports, refer to Model file formats.
Importer | Description | Supported file formats |
|---|---|---|
| FBXImporter | Imports 3D model files. For more information, refer to Importing a model. |
|
| Mesh3DSImporter | Imports 3D Studio Max files. For more information, refer to Importing a model. | |
| SketchUpImporter | Imports SketchUp files. For more information, refer to SketchUp Import Settings and | |
| SpeedTreeImporter | Imports SpeedTree files. For more information, refer to SpeedTree Import Settings window and |
|
| SubstanceImporter | Imports Substance files. | |
Audio and video importers
Importer | Description | Supported file formats |
|---|---|---|
| AudioImporter | Imports audio files. For more information, refer to Audio files and |
|
| VideoClipImporter | Imports video files. For more information, refer to Video sources and |
|
Image importers
Unity imports image files as textures. Unity supports most common image file types, such as , , , , , and . For more information, refer to Import a texture.
.bmp.tif.tga.jpg.svg.psdImporter | Description | Supported file formats |
|---|---|---|
| IHVImageFormatImporter | Imports specialized image formats. For more information, refer to |
|
| TextureImporter | Imports texture files. For more information, refer to Import a texture and |
|
Native asset importers
There are a range of asset types that are native to the Unity Editor. You can create assets of these types using Editor features. When you create these, Unity saves the files which represent them as asset files in the folder of your project. These include animations, curves, gradients, masks, materials, and presets.
AssetsImporter | Description | Supported file formats |
|---|---|---|
| NativeFormatImporter | Imports Unity's native asset formats. |
|
| PrefabImporter | Imports prefab files. For more information, refer to Creating prefabs. | |
| VisualEffectImporter | Imports visual effect files. |
|
Plug-ins and code importers
You can add managed and native plug-ins such as files into your project to expand the functionality of your application. Unity also supports assembly definitions to help you create and organize your scripts into assemblies.
.dllImporter | Description | Supported file formats |
|---|---|---|
| AssemblyDefinitionImporter | Imports assembly definition files. For more information, refer to Introduction to assemblies in Unity. | |
| AssemblyDefinitionReferenceImporter | Imports assembly definition reference files. For more information, refer to Introduction to assemblies in Unity. | |
| DefaultImporter | Imports system files. |
|
| PackageManifestImporter | Imports package manifest files. For more information, refer to Package manifest. | |
| PluginImporter | Imports plug-in files. For more information, refer to Import and configure plug-ins and |
|
Shader importers
Importer | Description | Supported file formats |
|---|---|---|
| ComputeShaderImporter | Imports compute shader files. For more information, refer to Writing compute shaders and | |
| RayTracingShaderImporter | Imports ray tracing shader files. For more information, refer to Introduction to shaders. | |
| ShaderImporter | Imports shader files. For more information, refer to Introduction to shaders and |
|
Text and arbitrary data importers
Importer | Description | Supported file formats |
|---|---|---|
| LocalizationImporter | Imports localization files. | |
| TextScriptImporter | Imports text and script files. For more information, refer to Text assets. |
|
| TrueTypeFontImporter | Imports font files. For more information, refer to Font assets and |
|
Built-in scripted importers
Scripted importers allow you to write your own custom importers for formats that Unity doesn't natively support. Some of Unity’s own built-in importers are implemented as scripted importers because they are written in C# in core packages, rather than within the Unity Editor's native code itself. Unity imports scripted importer assets after native importer assets.
Importer | Description | File formats |
|---|---|---|
| SpeedTree9Importer | Imports SpeedTree 9 files. For more information, refer to | |
| StyleSheetImporter | Imports Unity style sheet files. For more information, refer to Introduction to USS. | |
| UIElementsViewImporter | Imports Unity XML files. For more information, refer to Structure UI with UXML. | |