x


Is it posible to tell unity not to compress assetBundles?

Is it posible to tell unity not to compress assetBundles? And is ther any other way to reduce dynamic assset loading time.

more ▼

asked Dec 21 '09 at 01:23 PM

AliAzin gravatar image

AliAzin
2.5k 42 56 79

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

It is possible (at least now it is), if you pass a BuildOptions.UncompressedAssetBundle when you build the AssetBundle, however, keep in mind that this is only made for loading them in a standalone build.

Then to load them use AssetBundle.CreateFromFile.

more ▼

answered Apr 17 '12 at 12:12 PM

Afonso gravatar image

Afonso
97 1 1

Nice update after 2.5 years ;)

+1

Apr 17 '12 at 02:09 PM Bunny83

Unfortunately the option isn't available for BuildPipeline.BuildStreamedSceneAssetBundle :-(

Feb 14 at 04:26 AM yoyo

p.s. I just made this the accepted answer.

Feb 14 at 04:28 AM yoyo
(comments are locked)
10|3000 characters needed characters left

[Answer applies to older version of Unity, at least pre-3.5]

Not compressing AssetBundles is not possible - Unity decompresses faster then typical internet connections can download the extra data, so not compressing the AssetBundles should actually make loading slower.

more ▼

answered Dec 21 '09 at 02:42 PM

jonas echterhoff gravatar image

jonas echterhoff ♦♦
9.8k 7 23 104

i think he wants to load data from his hard disk.

Dec 21 '09 at 02:51 PM Ashkan_gc
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x383

asked: Dec 21 '09 at 01:23 PM

Seen: 1717 times

Last Updated: Feb 14 at 04:28 AM