Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
5
Question by jacksmash2012 · Jun 01, 2011 at 02:24 PM · fbx

Why is my imported FBX file not showing textures?

I admit this may end up being more of a Blender question than a Unity question, but at this point I'm not sure.

When I export a house model to an FBX file, and drag that file into Unity, I can see that it imports the materials, but no textures. So the house in the Scene view is missing all of the textures.

Blender 2.57 Unity 3.3

Is it supposed to work the way I'm doing it? Or am I missing something?

(I don't know if this is relevant -- and this IS more of a Blender-related question -- but in Blender I can see the textures when I Render the image, but I cannot see the textures in Object Mode.)

Thanks for any advice.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Coreyf716 · Jul 16, 2012 at 01:56 AM 0
Share

Import the texture and drag into onto the mesh in your scene.

10 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Mischa · Jun 01, 2011 at 02:58 PM

FBX exports your model with uvw coordinates but doesn't include the textures into the FBX file. You have to Import your textures seperately into Unity and add to the generated material (the main texture panel in the inspector).

I'm not using blender but if you have procedural textures generated in blender you need a way to bake them before you can use them in unity.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
5

Answer by Anxo · Jun 01, 2011 at 04:20 PM

Mischa is right, FBX does not export textures and you have to import them into your Unity Scene, but if done right you can reload your FBX and do not have to manually assign them to the materials. They will find the links with the right materials.

I always have my folder setup like this: Assets/MyModels/ModelName/ FBX imported file which creates a materials folder, I add a textures folder, my 3d model also pulled the textures out of a textures folder next to the model. after I dump the textures in the textures folder I reimport the FBX and wolla! all the textures are assigned.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mattFeeney · Dec 15, 2013 at 06:54 PM 0
Share

Thanks, this saved me a lot of time applying the texures :)

avatar image Anxo · Jan 19, 2014 at 07:33 PM 1
Share

Update 2014:

To anyone who is still pondering this issue. FBX now has a new feature called Embed $$anonymous$$edia which allows you to include the textures into the FBX. Unity will understand this feature and drop a modelname.fbm folder where your FBX folder is with the textures.

Sweet.

avatar image unity_YBLnZ4Q5L9oICg · Nov 13, 2018 at 09:28 PM 0
Share

$$anonymous$$y FBX is not creating a materials folder, and is also not importing from a textures folder. Any idea why or how to get this functionality?

avatar image unity_YBLnZ4Q5L9oICg · Nov 13, 2018 at 09:33 PM 0
Share

It looks like this will solve my issue. The old functionality is legacy as of 2017.3. You now must use the "materials" tab and use "external materials"

avatar image
5

Answer by yash.peace · Nov 22, 2011 at 10:15 AM

Hi! I was having the same problem, after UV mapping my model in blender 2.5, the texture wouldn't show up in Unity. I noticed that Blender exports the model as it is visible in the 3D view. Change the view mode to textured and then try exporting. It worked perfectly for me.

This is a good tutorial for UV Mapping btw.. http://www.youtube.com/watch?v=zh280Id_eXg

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
3

Answer by David Cavitt · Jun 01, 2011 at 02:54 PM

So I banged my head against a desk for the longest time figuring out the pipeline for Blender to Unity and getting things to show up correctly.

Basically Unity doesn't take any properties from Blender in respect to Textures and Materials. You basically need to assign your materials to your house (i.e. - select the faces for your roof in Blender and create a material called roof in Blender and in edit mode click assign in the properties panel). Do this for every material you're going to have on your house. Don't worry about the settings for the material. You set all those in Unity (i.e. - transparency, specularity, normal maps, etc.).

After assigning materials to the different vertex groups on your model, you'll need to make sure all the faces of the model are unwrapped (this is so you can make sure all the textures show up correctly on each surface in Unity). If you're unfamiliar with unwrapping models in Blender, head over to blendercookie.com, they have tons of great tutorials on unwrapping UV images. Make sure you save the UV map for your house (you only really need one UV Image, not one for each material), in the UV Image Editor window in Blender.

I'm going to give you an example now for one texture like a roof for the house. Say you have a texture (you can get lots from cgtextures.com) and you have it sized out for 1024x1024 in Gimp or whatever image program you use. 1024x1024 is standard for game textures. When you unwrap your model you'll notice that only the faces that are highlighted show up in the UV Image Editor, highlight only the roof faces for your model and resize them in the UV image editor to match the shape of the faces in the 3d View port. Using the UV Test Grid is a big help here as it shows you how even the texture will appear when you drag onto the material in Unity.

Sorry this is so wordy, I didn't have any indication how schooled you were at the pipeline of Blender to Unity. Once you have the UV Map of your roof set, save your Blender file and export the FBX into Unity, you'll notice that Unity, brings over the materials that you created for each part of your house. Now you get to pick what type of material you want each section of your house to be by choosing the appropriate shader. Most likely the roof may have a bumped diffuse shader applied to the material (assuming you have a normal map for your texture, if you don't just choose diffuse rather than bumped diffuse). Then make sure your texture image is located in your Unity project, navigate to it in the project view and drag it into the blank square in the properties panel for the material.

VOILA, your texture has just been put onto your material and should show up. This all may seem complex at first, but once you get the hang of the process and do it over and over again, it becomes quick and painless and you start to really have fun with making your game.

Cheers

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jacksmash2012 · Jun 01, 2011 at 03:53 PM 0
Share

Thanks for your very thoughtful comment! I'll look into the unwrapping tutorials and see what I learn there.

How does all of this apply if I just import an OBJ file into Blender?

avatar image
1

Answer by resoft · Jul 14, 2016 at 04:37 AM

Important is to actually save the material as an image in the uv/image editor before exporting as fbx!

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image unity_EDiggw010YBkRA · Sep 17, 2020 at 04:51 AM 0
Share

THANK YOU. THIS WAS ALL I NEEDED TO DO.

It's insane that you need to navigate through 10 different web pages to finally get this working. I'm happy it is though! Thanks for your comment! Saved me probably another couple hours.

  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Imported Animations From 3DS Max 1 Answer

Smoothing Groups gone when exporting 3ds max to Unity with cat rig 0 Answers

Blender FBX imported into unity distorts and moves pieces of the model. 0 Answers

Why does Unity use duplicate vertices in Mesh? 1 Answer

Get Max material information during import into Unity 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges