Hi Boys!!

Hi my name is Simone. I’m italian and I speak english non very well :frowning:

My problem is about “Asset bundle”

I have done a test here:

http://simone.serrenticalcio.it/

As you can se, if you click on “Fantasia”, the asset bundle start to charge.

The problem is that when charging is at 100% the browser STOP for few second.

Is there a way to charge my asset bundles runtime without interruptions?

thanks

I think it’s being cached or worked out someway so you can’t do anything about that. But I’m not sure, better wait somebody less noob than me :?

Wow, that was a really long pause. It must be something about your objects that are being instantiated, either they’re very dense meshes or have a lot of components or something. You can try using assetBundle.LoadAsync() to asynchronously load the objects into memory. But you might also want to optimize the contents of the asset bundle itself.

Sorry Ulognep. How can use assetBundle.LoadAsync()?

Is it a script? Can you explane me? thanks

I’m searching it but i don’t find!

There is a manual page about asset bundles here. They enable you to package assets in a way that can be downloaded at runtime. So, if you have a level with many large assets, you can load them gradually rather than having a long pause as the game starts up.