Importing FBX Files Into Unity

It couldn't be more straight forward adding your FBX file into your Unity project. Just follow this simple step-by-step document.

When you purchase an asset from our store, you'll usually get it in a FBX format. The FBX format is one of the most popular and widely used 3D modelling formats, and is used on most modern 3D game engines and modelling software.

1. Prepare Your FBX and Textures

Before importing, make sure your FBX file and its associated textures are organized. It's best to keep the FBX file and its textures in the same folder to simplify the import process. Unity can automatically assign textures to the materials if the textures are named and placed correctly.

2. Import the FBX File

  1. Open Unity and either create a new project or open an existing one.
  2. Navigate to the Project window. Right-click in the Assets folder, go to Import New Asset, and navigate to the location of your FBX file.
  3. Select the FBX file and click Import. Unity will import your model into the project's Assets folder.

3. Import Textures

If your textures are not automatically imported with the FBX file:

  1. Place your textures in a folder within your project's Assets directory. You can name this folder "Textures" for clarity.
  2. Drag and drop the texture files from your file explorer into the Unity Editor, either directly into the Assets folder or into the specific Textures folder you created.

4. Assign Textures to Materials

After importing, Unity will create a Materials folder within the same directory as your FBX file if it detects any materials. If Unity doesn't automatically apply your textures:

  1. Open the Materials folder to see the materials that were created upon import.
  2. Select a material to view its properties in the Inspector window.
  3. Drag and drop the corresponding texture from the Textures folder onto the Albedo property in the Inspector. Repeat this for any other texture types your material requires (e.g., Normal maps, Specular maps).

5. Apply Materials to the FBX Model

If Unity has not automatically applied the materials to your model:

  1. Select your FBX model in the Scene or Hierarchy.
  2. Find the Mesh Renderer component in the Inspector window.
  3. Drag and drop the materials from the Materials folder onto the appropriate slots in the Mesh Renderer. If your model consists of multiple parts, you might need to apply materials to each part individually.

6. Adjusting Material Properties

After assigning the materials:

  1. Select a material in the Assets folder.
  2. Adjust its properties in the Inspector window as needed, such as changing the shader type or modifying the color and texture settings to achieve the desired appearance.

7. Extracting Textures (If Necessary)

If you need to extract textures from a Unity material:

  1. Right-click on the material in the Assets folder.
  2. Select Extract Textures. Choose a location to save the extracted textures.
  3. Unity will then save the textures used by that material to the specified location.

Additional Tips

  • Prefab Creation: It's often useful to create a prefab of your imported model. Simply drag the model from the Scene hierarchy into the Assets folder. This allows you to reuse the model with its materials and textures already applied.
  • Shader Adjustments: Depending on your project's needs, you might want to explore different shaders for your materials, especially if you're working with specific lighting conditions or aiming for a particular visual style.
  • Optimization: For better performance, especially in mobile games, consider optimizing your textures and materials. This could involve reducing texture sizes, using more efficient shaders, or simplifying materials.
By following these steps, you should be able to successfully import an FBX file and its textures into Unity, apply materials correctly, and adjust the visual properties to suit your project's needs.