• 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
1
Question by Vivaci2 · Dec 14, 2016 at 03:20 PM · unity 53d modelimport model.fbx.obj

Import 3D Model (.FBX or .OBJ) into Unity at runtime from Web Url

Hi everyone,

I'm trying to find a way to import a 3D model in either .fbx or .obj format into a Unity scene at run time from a web URL. I'm trying to make a personal Unity application that lets me download and load 3D files from a web server that my friends can upload to.

Is this possible? If so, are there scripts for it already or can someone point me in a good direction?

Thanks!

Comment
Add comment · Show 2
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 chiddaan · Apr 13, 2017 at 08:30 PM -1
Share

Were you able to do it, my friend?

avatar image Lesliehdez · Jan 15, 2018 at 07:34 PM 0
Share

Wich option used it for this to solve ? I need to do the same and I cant find.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by rickomax · Jun 21, 2017 at 10:35 PM

https://www.assetstore.unity3d.com/en/#!/content/91777

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 tomekkie2 · Dec 14, 2016 at 04:38 PM

There are plenty assets free and paid on AssetStore and this script on wiki: http://wiki.unity3d.com/index.php/FastObjImporter - regarding import of obj files at runtime.

Comment
Add comment · Show 6 · 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 chiddaan · Apr 13, 2017 at 08:15 PM -1
Share

But FastObjImporter or ObjImporter doesn't use the URL, does it?

The downloaded object from URL is in System.Byte[] format.

Can you suggest some free assets on assetStore?

avatar image Joe-Censored chiddaan · Apr 13, 2017 at 11:30 PM 0
Share

@chiddaan FastObjImporter uses local files it appears. Try using the WWW class to download the obj from the URL before opening with this.

avatar image chiddaan Joe-Censored · Apr 13, 2017 at 11:45 PM 0
Share

Hey Joe,

As I said, I have downloaded the object(.obj) using UnityWebRequest. It's in System.Byte[] form.

Now I am just trying to use it as a GameObject in my scene.

I am trying to figure out, how to use this code and my Byte[] to talk to each other.

Show more comments

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

12 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

Related Questions

Gravity still being applied with unity CharacterController 0 Answers

Unity not importing animations from Blender correctly 1 Answer

Werid Looking Models when Importing to Unity 3D 1 Answer

export sketchup to unity help 1 Answer

How one can build 3D Room Model with specific parameters? ,How can we build 3D Room model with specific parameters? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges