• 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 zeroblackstar · Oct 16, 2015 at 02:25 PM · meshblenderimporting assets

Inconsistent Blender import

I am working on a scene with a friend, we are both using the latest version of Blender and Unity. If I create a compound object (cube with a long cube "gun" coming out of it) and save into my assets folder as a .blend, in Unity the object is correctly orientated and facing forward, i.e. transform.lookat will make the object AND sub object (e.g. "gun") aim correctly at a target.

Here's the problem, if my friend does the exact same steps, the objects are orientated differently in Unity which breaks the transform.lookat functionality. I can save down a blend file and we will both import it and have different results in unity.

Any idea what's causing this?

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 Bunny83 · Oct 16, 2015 at 10:07 PM 0
Share

Well do you have compared the blend files? What happens if you import the blend file created by your friend or he imports a blend file you've created? If you import his file and it's also rotated the wrong way, the problem is in blender and most likely a preferences problem like meat5000 said.

If you and your friend import the exact same file and the object is't rotated the wrong way for you but is wrong on your friends PC, can you post an example blend file and a screenshot of your model import inspector and one of your friends?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by meat5000 · Oct 16, 2015 at 02:37 PM

Save your Blender Preferences and give the file to your friend.

The latest version of Blender has an (experimental) rotation fix which one of you has probably checked and the other, not.

For those messed up models apply Mirgar's rotation fix if the built in fix doesnt work for you. Note, you should Export as FBX and select the proper orientations in that export menu.

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 zeroblackstar · Oct 16, 2015 at 06:59 PM 0
Share

We both did a clean install of Blender and both had the experimental box un-ticked and all other export settings identical so unlikely to be preferences I think.

$$anonymous$$y friend ended up rotating the model 90 degrees, applying transforms, then rotating it back and it appears to be working fine.

No idea why this would fix the problem!

avatar image meat5000 ♦ zeroblackstar · Oct 16, 2015 at 11:24 PM 0
Share

Unity and Blender both use different coordinate systems. one left, one right handed.

Applying a fix in Unity causes further problems down the line, so a fix in Blender is the way.

Read the page with $$anonymous$$irgars fix. Everything is explained.

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Unable to import mesh from blender 1 Answer

Model/mesh has huge collider even though there is no collider added and even if there was why so big 1 Answer

Maya Import: Model Distorted (Read/Write) 1 Answer

Number of mesh vertices increase when imported into unity 1 Answer

Importing textured models to Unity 2017.3 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