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 arumoy · Jan 26, 2017 at 08:47 AM · 3dblenderassetbundleblender-exportingmodel importing

Load 3D models without AssetBundles?

I am building an app in a way that the based on user's location it will download a particular model(.blend file) from internet and show it. The models won't be build by me, but the user. How do I load a 3D model on the fly without building an AssetBundle?

Thanks in advance.

Comment
Add comment · Show 4
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 Cherno · Jan 26, 2017 at 10:48 AM 2
Share

There are FBX and OBJ importers, check the forums and asset store. *.blend files I assume are specific to Blender3D so I don't think it'll be possible to load those directly into Unity.

avatar image arumoy Cherno · Jan 26, 2017 at 02:08 PM 0
Share

Thanks @Cherno. Yes, they are there, but the requirement specifically needs .blend files, because the user already has them all. Also for the .blend files contain all the parts of the design individually, which Unity can import natively. This will be really helpful

avatar image ncheruku · Jul 17, 2017 at 05:02 PM 0
Share

@arumoy, I was wondering if you were able to achieve what you wanted. I need to do something very similar

avatar image tanoshimi ncheruku · Jul 17, 2017 at 05:05 PM 0
Share

@Bunny83 already answered this question some time ago, and his answer remains valid.

2 Replies

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

Answer by Bunny83 · Jan 26, 2017 at 02:42 PM

No, Unity can't import blend files natively. Read this page carefully.

To quote the page:

Unity can read .FBX, .dae (Collada), .3DS, .dxf and .obj files.

A bit further down:

Unity can also import, through conversion: Max, Maya, Blender, Cinema4D, Modo, Lightwave & Cheetah3D files, e.g. .MAX, .MB, .MA et

Note the through conversion part.

Also note that this only applies to the Unity Editor and not the Unity Player (the runtime). Unity doesn't support importing any 3d model asset at runtime. You always need your own loading code if you need that functionality. To import blend files the Unity editor actually uses blender to export it as FBX and imports the FBX file instead. This all happens automatically in the background.

So if you need to import .blend files at runtime you need to find a library / code snippet that does that or write your own importing code.

Be warned that most "custom blender asset importer" aren't custom importers but just AssetPostProcessors which just adjust the already imported object.

If you opt for writing your own importer, have a look at this post. So unfortunately there is no file format specification (hence "blend" is not really a standardised format at all and most applications simply use Blender to convert it or have written their own importer). Keep in mind that blender is open source so you can look it up if you need to. But be warned that Blender is under the GPL, so "copying" or directly deriving / porting something from it's source code would force your project to be released under the GPL as well.

That said, blend files are simply a very bad choice for loading assets at runtime.


ps: Those who complain why this functionality isn't built-in into the Unity engine are usually the same that complain that an empty Unity build is so "huge". They want to have all features possible and want the result to fit onto a 3.5'' floppy disk.

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 arumoy · Jan 26, 2017 at 02:56 PM 0
Share

Thanks Bunny83 for the help. I used the word natively in a wrong way. I meant by itself.

avatar image
0

Answer by Lesliehdez · Jan 25, 2018 at 05:19 PM

can i converter a .obj (3D model) in a assetbundle and load it to my server?

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

8 People are following this question.

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

Related Questions

Blender import bug 0 Answers

Need help with exporting my model into unity 1 Answer

How should I import models from Blender for animations? 1 Answer

Many models in one .blend file vs. one .blend file per model (Android game) 0 Answers

Blender model missing polygons 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