• 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 Corbis · Jan 22, 2016 at 01:15 PM · texturemeshblenderblender-exportingexporting

Exporting files from blender to unity

A couple of months ago I decided to create a pretty simple open world game. I started to create the world with a single plain that I stretched and moved to create a world with a few mountains and stuff. I also created a material with a texture to colour the island.

Not long ago I was ready to export this file into Unity, and start with the actual game, but when I dragged the plane from the asset folder into the scene, I saw that the single plane I exported was now 20-ish different planes combined into one big plane, where each of these planes were different faces of the mesh. I thought it was okay at first, but when I tried to drag the texture on the plane, it simply coloured each "sub plane" individually, which ruined everything.

How do I combine all these planes and restore them into one again? Did I do something wrong in blender? Also, if this is what happens with exported files as a default, is it possible to create meshes to use in Unity as well?

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 Graphics_Dev · Jan 22, 2016 at 02:00 PM 0
Share

Did you select in Blender to export only selected objects? Often you will have hidden objects or models on invisible layers: these will be exported if you are exported everything.

Show more comments
avatar image saschandroid · Jan 26, 2016 at 07:50 AM 0
Share

I guess your plane has more than 65k vertices and unity splits it into different parts. This is the normal behaviour and shouldn't be a problem. There must be something wrong with your material/texture settings. For example: Have you tried to set the wrap mode of the texture from 'Repeat' to 'Clamp'?

Show more comments
avatar image Sanky · Jan 26, 2016 at 07:57 AM 1
Share

Hi, There is option in blender to combine your mesh in one by hitting Ctrl + J then you will get single mesh which is combined of all mesh. After that you need to unwrap this mesh for uv mapping and texturing. This mesh will be works fine in unity as per my knowledge. :-)

Show more comments
avatar image alishka · Jan 26, 2016 at 08:43 AM 0
Share

+1 @Sanky, make it an answer.

Show more comments

2 Replies

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

Answer by Wilson28300 · Jan 26, 2016 at 11:50 AM

If ur mesh has more than 65k+ vertices, Unity splits the mesh into different parts. Instead of exporting, directly use the .blend file in your game and it will not split the mesh.

Hope this helps!

Comment
Add comment · Show 2 · 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 Corbis · Feb 10, 2016 at 05:39 PM 0
Share

So, I tried to load the game again, and I suddenly noticed a notification I've never noticed before, and it seems like you are right. There's too many faces, so it splits them. I tried saving the .blend file diectly into the asset folder, but that didn't help much, so I think I'm going to try to split my mesh into several pieces in blender, and then add them to my game individually. It will be easier to add a material that way too. Thanks man!

avatar image meat5000 ♦ · Feb 10, 2016 at 07:59 PM 0
Share

Some of this problem occurs because shared vertices in Blender will be split to two (or more) individual vertices in Unity to aid with GPU processing. So in effect this can very well happen with Blender reporting well less than 65k verts.

avatar image
0

Answer by MrMeows · Jan 22, 2016 at 11:34 PM

I have never used Blender, but I think you need to do UV mapping, which is the process of assigning areas on a mesh to areas on any given texture. It is this process that is responsible for seemingly random textures resulting in perfect skins.

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 meat5000 ♦ · Feb 10, 2016 at 08:02 PM 0
Share

On its own not the solution, however you are on to something.

If Unity splits your mesh for you you may find severe problems with your UV map.

Split your mesh manually in Blender and UV map the parts so as to retain your UV data for all parts.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

10 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

Related Questions

render textures applied to meshes imported from Blender 2.60.0 1 Answer

need help whit materials 1 Answer

how to split a single texture into multiple textures on separate objects in blender? 0 Answers

Is it possible to export from a blender to a format that Unity uses in a MeshFilter? 1 Answer

Problems with importing Blender object 1 Answer


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