Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by gegc · Jan 05, 2012 at 07:08 PM · textureimportblenderexportobj

Unity imports .obj with extra material

I'm working in Blender and exporting an OBJ into Unity. I have one mesh with two different materials applied to it. However, when I import the OBJ into Unity, it creates a third material which is assigned to the first face of the mesh. This happens even when material generation is turned to 'off' (it still makes three slots for materials). Opening the OBJ and MTL files in Notepad confirms that Blender exports everything properly, with only two materials. I'm using all other default settings in the importer.

I haven't even the slightest idea why this is happening beyond it being an importer bug. Has anyone seen/dealt with this before?

Comment
Add comment · Show 2
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 Novaesky · Jul 04, 2014 at 12:53 PM 0
Share

I really wish this would be solved. I'm having the exact same problem, but using another format is not really an option for me.

avatar image meat5000 ♦ · Jul 04, 2014 at 01:01 PM 0
Share

Its not really a problem. You can simply delete unwanted materials and or swap them for one you want to use.

In your $$anonymous$$esh Renderer (I use Skinned) click the $$anonymous$$aterials Entry and change Elements from 3 to 2.

3 Replies

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

Answer by DaveA · Jan 05, 2012 at 08:28 PM

I have seen this type of thing. I simply stopped using OBJ and just use the .blend files, it seems to digest them well.

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 gegc · Jan 06, 2012 at 06:18 PM 0
Share

Well, I guess that works then!

avatar image
0

Answer by peter.gandia · Oct 22, 2015 at 08:02 PM

Hello,

I would like to reopen this issue with a similar problem. I imported 2 separate OBJ files in blender that originated in Maya. I saved them both in the same .blend file, rigged, applied material and animations. Unity is still showing:
Materials
Size: 2
Element 0: Default-Material
Element 1: Default-Material

Attached are images of Blender's materials panel and Vertex Groups panel. It shows that I have only one (1) material and one (1) UVmap. I even went as far as to remodel the weapon (second OBJ file) from a single vertex of the body of the character and delete the old "join"ed weapon. It still shows 2 materials in Unity.

Is it possible that this was something that carried over from Maya and I can't get rid of?

thanks, Pete


screenshot-3.jpg (43.4 kB)
screenshot-2.jpg (52.0 kB)
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
0

Answer by I-am-Lawrence · Sep 23, 2016 at 05:53 AM

As a possible workaround but by no means a solution, go into the UV/Image editor, and shift+x (un-link) all textures.

For some reason, and with no consistency textures linked here are sometimes associated with one or multiple meshes, then when Unity re-imports it creates a new slot for that texture as a material. These textures don't need to be linked to a material in blender and need only exist and linked to the .blend file.

It can get annoying, which is why I'm here right now, trying to find a permanent solution!

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

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

9 People are following this question.

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

Related Questions

Textures from Blender to Unity 0 Answers

How to keep texture resolution from blender? 1 Answer

Multiple UVs from Blender (Problem) 0 Answers

How to export animation from blender to unity ? 0 Answers

texture not applied, despite many attempts 2 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