Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 NeverConvex · May 03, 2017 at 08:43 AM · blenderfbxblender-exportingfbximporter3ds

Blender to Unity: 3ds exports UV maps correctly, fbx doesn't. Why?

I've created a simple dragon model in Blender, rigged it, given it some animations in Blender's compositing screen, broken it up into <65K triangle sub-meshes so Unity won't automatically break it apart, and UV mapped all of the individual parts.

I'm now trying to export this model to Unity, but if I export it as a .fbx and then import it into my Unity scene, the resulting prefab seems to have lost its UV maps. Exporting as a .3ds preserves UV map information, but doesn't preserve the model's animations.

I believe this is intended behavior for .3ds files (that they don't carry animations with them), but I believe my .fbx export should preserve UV maps. I've succeeded in the past with .fbx exports preserving both animations and UV maps, and I've read online that they should do so.

For reference, here is a current image of my scene:

alt text

The dragon on the left was exported as a .fbx; the dragon on the right began as the same Blender model but exported as a .3ds. The back of the dragon's right wing illustrates the problem; the .fbx loses all detail and just shows a diffuse black color.

Are there any common reasons this might occur? I am just a hobbyist and there are still many things I do not know about Unity/Blender.

GENERAL SYSTEM/SOFTWARE INFO:

  • Windows 10

  • Unity 5.6b10 64-bit

  • Blender 2.78

FIXES ATTEMPTED:

  • started a new Unity project, problem persisted

  • exported in older 6.1 ASCII fbx format, problem persisted (this is the little dragon not centered in the above image; its right wing is occluded but looks identical to the centered fbx dragon on the left)

  • tried exports with original mesh without first breaking it up into <65K sub-objects in Blender; problem was present there too

  • exported as 3ds rather than fbx and UV maps were preserved, but this loses animation information so it's not a very good fix

  • directly imported .blend file; problem is present here as well

unitydebugging-3ds-vs-fbx.jpg (501.2 kB)
Comment
Add comment
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

2 Replies

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

Answer by NeverConvex · May 08, 2017 at 10:19 AM

Figured this out about 18 hours after opening the question (was still under moderation at the time).

Turns out at some point in my repeated UV unwrapping attempts, a second UV map had been created in Blender; I'm not sure how this happened, as I never explicitly changed the UV map in the Data tab, but I'm suspicious there was a single default UV map and that my unwraps created a second UV map and I just kept overwriting that second map. Anyway, navigating to the Data tab on each of my wing objects and deleting the first, default, undesired UV maps fixed the problem.

This still leaves the interesting issue that 3ds picked up the UV map I intended it to pick up (the second/last UV map) rather than the 'default' UV map. My current guess is that this happened because 3ds indexes Blender's UV maps in reverse order and exports with the last UV map, while the other export types I tried (blend, fbx) index Blender's UV maps in the same order as Blender, and so exported with the first UV map. I'm not sure where to find the specifications for the various export types, but it would be neat if someone could confirm this.

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 termway · May 03, 2017 at 03:07 PM

You need to know exactly where the problem come from :

  • First,check if you have multiple materials. You may have forget to add your texture in the shader parameters in one of them.

  • Then you can check that your fbx file have uv value by reimporting it in blender or use a external fbx viewer.

  • Try using a checkboard texture, this can help you identify your problem (like aberrant scale)

Try to reproduce the problem on a simple model like a cube and post your unity scene here. If you want to, I can check your fbx file for you.

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 NeverConvex · May 04, 2017 at 01:46 AM 0
Share

Thanks for your reply!

I actually figured out what the problem was about 18 hours after submitting this question; I kind've forgot I'd submitted it, I guess because moderation takes a fair bit of time here.

Anyway, the issue was that while unwrapping my objects, I guess there was a default UV mapping in Blender and most of my unwraps were adding and/or rewriting the second UV map. For some reason, 3ds seems to index the UV maps in reverse order to their listing in Blender, so it started with the latest map - the correct one - while fbx, blend, etc exported with indexing in the natural forward order, so they used the (incorrect) first UV map. Very strange.

Would love if someone could confirm my conjecture there that 3ds indexes UV maps in reverse order to fbx, blend etc. Outside of that, I'll probably close this question relatively soon.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Why do I have jittering or extraneous movements in my animation after importing from Blender? 1 Answer

Blender FBX model Importing Making Model Smooth 2 Answers

Unity 2018.4.5f1- Blender could not convert the .blend file to FBX file. 4 Answers

How do I get Unity to update all objects from an .FBX model update? 0 Answers

What's the best way to edit the mesh in an .fbx file I didn't create? 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