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 /
This question was closed Nov 14, 2013 at 10:25 AM by Benproductions1 for the following reason:

Question is off topic or not relevant

avatar image
1
Question by Excelerator · Nov 14, 2013 at 03:24 AM · performanceblenderoptimizationmaterialsduplicate

How to fix duplication of materials with blender?

I'm wondering how to fix a level I'm exporting from Blender to Unity. The problem is that my Blender model has a total of 37 materials, some of which are not even being used in the mesh yet, but the exported fbx model shows 52 material slots in the Unity mesh renderer. For some reason, every time I unwrap something in Blender, it adds a new material slot that's visible in the Unity mesh renderer. Does anyone know how to combine meshes with same materials in blender? My mesh is very low poly, but performs horribly because there are so many duplicate material slots in the mesh renderer.

Comment
Add comment · Show 8
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 Benproductions1 · Nov 14, 2013 at 10:25 AM 0
Share

This is not a Unity specific question. You can find the answer via google on the blender forums or other websites

avatar image Excelerator · Nov 14, 2013 at 11:37 PM 0
Share

Thanks. Sorry about that.

avatar image Excelerator · Nov 15, 2013 at 01:13 AM 0
Share

I just figured it out and this is not as off topic as you think it is Blenderproductions1. It also has to do with the nature of how Unity's built in fbx exporter works. For those looking for a useful answer, you need to make sure the material texture matches that which is shown in the UV image editor. Do this asap for level models or you will end up with a huge mess to clean up later.

avatar image Benproductions1 · Nov 15, 2013 at 06:23 AM 0
Share

Unity's "blender" importer is actually only blenders fbx exporter. Unity runs a python script, which returns the blender model converted to FBX format. So no... this is in no way related to Unity.

Also if you learn how blender works in relation to objects/materials etc, you will notice that this problem is very easy to fix if you use blender properly. (Yes, I've had this before)

avatar image Excelerator · Nov 15, 2013 at 06:41 PM 0
Share

Well, technically, the exporter came with unity... alright sorry just messing with you. Thank you for your time.

avatar image NinjaISV Excelerator · Jan 07, 2017 at 02:30 AM 0
Share

Thanks mate! Awesome solution!

avatar image Excelerator NinjaISV · Jan 07, 2017 at 04:41 AM 0
Share

Well, it's okay, but to add onto that, I learned it's also good practice to use really short texture names like 4 characters long to maximize compatibility of file formats. And to keep models under 30k triangles per object. Especially if you want to properly run it through Autodesk's fbx converter.

Show more comments

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

18 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 avatar image

Related Questions

How can reduce the poly count? 7 Answers

Reasonable heap alloc. per second and total ? 0 Answers

Sprite Alpha Performance 0 Answers

How do I get my game to run faster? 4 Answers

Some texturing questions... 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