Log in or register to post comments

Load scene with interaction from assets bundle

April 17, 2014 - 10:36am #1

I created a scene with vuforia unity extension to display an object on my marker and let the user to interact with this object (zoom in, zoom out, ...etc) .. the project worked very well and the object augmented wow

 

Now i built the assets bundle for this scene and uploaded it to my server in order to loading it dynamically on my android device

 

I created an empty unity project to download and load this assets bundle .. my problem is the assets bundle downloaded successfully but the object appears on black screen without augmentation and without interaction, also the application doesn't open the camera

 

Is there a problem in building the assets bundle .. Is there a problem in loading it?

Load scene with interaction from assets bundle

April 22, 2014 - 7:31am #9

Ok thank you very much .. I'll try it to loading from my Server

Load scene with interaction from assets bundle

April 22, 2014 - 7:26am #8

That tutorial can also be used for iOS, the only difference is that the Asset Bundles must be built for the iOS target, instead of Android, prior to using / importing them in your app.  

The other little difference is that, in the tutorial, the asset Bundle is taken from the SD card of the Android smartphone, but this is just for the sake of testing the code snippet, ... in reality, the Asset Bundle path should usually point to a server (web) URL where your models are stored.

For the rest, it should be pretty much the same, as Unity makes this transparent and platform independent.

Load scene with interaction from assets bundle

April 22, 2014 - 7:19am #7

No problem i can load the 3D Model now without any interaction .. but is there another example for IOS?? (you said that this example for android only)

Load scene with interaction from assets bundle

April 22, 2014 - 6:00am #6

1- I have a script (with c#) was added to my 3D Model to interact with it (rotate, zoom in and zoom out) .. how can i include this script in my assets bundle and load it with the 3D Model

To my knowledge, there are certain limitations to including scripts into an Asset Bundle; however, I would recommend to check this information in the Unity website, as that it really the right place (this is a Unity specific topic)

 

2- Can i include the whole scene (with 3D model and ARCamera and markers and scripts) in the assets bundle and loading it instead of loading the 3D Model only?

Probably not a good idea, chances are that this would not work (see previous point).

 

Load scene with interaction from assets bundle

April 22, 2014 - 5:35am #5

Thank you AlessandroB for this good article .. but i'v a 2 questions:

 

1- I have a script (with c#) was added to my 3D Model to interact with it (rotate, zoom in and zoom out) .. how can i include this script in my assets bundle and load it with the 3D Model

 

2- Can i include the whole scene (with 3D model and ARCamera and markers and scripts) in the assets bundle and loading it instead of loading the 3D Model only?

 

Thank you,

Load scene with interaction from assets bundle

April 22, 2014 - 2:56am #4

Check this:

https://developer.vuforia.com/forum/faq/unity-how-can-i-augment-my-image-target-model

This explains how to load asset bundles with Vuforia and also highlights some tips and tricks; for example, the Asset Bundle must be built for Android (if you want to load / import it in an Android app), otherwise it will not work.

 

Load scene with interaction from assets bundle

April 18, 2014 - 12:54am #3

Thank you, but this is not my question .. I asked about loading vuforia scene from assts bundle

Load scene with interaction from assets bundle

April 17, 2014 - 12:06pm #2

vuforia doesn't support zoom in or out camera

 

 

 

Original posted by : lovelyazka

From : Indonesian

Keep Calm and Use Vuforia

Log in or register to post comments