Questions tagged [assetbundle]

AssetBundles are a collection of assets, packaged for loading at runtime. With Asset Bundles, you can dynamically load and unload new content into your application. AssetBundles can be used to implement post-release DLC

AssetBundles are a collection of assets, packaged for loading at runtime. With Asset Bundles, you can dynamically load and unload new content into your application. AssetBundles can be used to implement post-release DLC.

They can be used to reduce the amount of space on disk used by your game, when first deployed. It can also be used to add new content to an already published game.

243 questions
0
votes
1 answer

Unity3D Assets Bundle Manifest

Good Day! I'm new with assets bundle in unity, so I have a question: "Is it necessary to use AssetBundleManifest with LoadFromCacheOrDownload function"? And, is AssetBundleManifest file common for all bundles? In my project, I create a lot of new…
Dika
  • 31
  • 2
  • 5
0
votes
1 answer

Unity 4 - using AssetBundle to pre-load assets that are shared across multiple scenes?

I have several areas in my game project that are split over several scenes, for instance let's say there is a first area called "Basement" which is split in the Basement_1, Basement_2 and Basement_3 scenes; and another area, "Attic", split over…
Shikamu
  • 382
  • 1
  • 16
0
votes
1 answer

Javascript in Yii2 AssetBundle is not published on update

I have a quite simple AssetBundle: use yii\web\AssetBundle; /** * ImagizerAsset */ class ImagizerAsset extends AssetBundle { public $sourcePath = '@app/components/widgets/imagizer/assets'; public $css = [ …
Tibor Nagy
  • 1,185
  • 1
  • 15
  • 28
0
votes
1 answer

Yii2 jsPosition POS_HEAD not working with Twig

I am use Yii2 advanced with Twig integration. I need include js and css files to head block and use AssetBundle for this. If I use POS_BEGIN or POS_END it's work. Js and css load to page in current position. But if I set position as POS_HEAD render…
2ball
  • 86
  • 1
  • 7
0
votes
1 answer

AssetBundle loading model is not showing in mobile

0 I'm loading 3d model from server url and using assetbundle but when i load the model in unityeditor it's working fine and the 3d model of cube is displaying proper. But when i load the model in android mobile the model is not displaying in the…
raj
  • 17
  • 9
0
votes
1 answer

Unity3d Loading assetbundle

I'm experimenting with Unity3d AssetBundles. I'm trying to load a scene with its objects. I have this simple code for creating my asset bundle : [MenuItem ("Build/BuildAssetBundle")] static void myBuild(){ string[] levels =…
m0j1
  • 4,067
  • 8
  • 31
  • 54
0
votes
1 answer

AssetBundle Upgrade

Unity 4.0.0 -> Unity 4.5.4 I need AssetBundle upgrade to adapt new Unity version. In Unity 4.5.4 develoment environment, I have previous version of AssetBundle. So, when I try to play the game, Unity float an error that my AssetBundle need to be…
0
votes
2 answers

Export .tga or .png image file to disk in Unity3d

There is any way with code to export a .png or .tga file to local disk in Unity? I need to write a converter that loads asset bundles and converts them to the original source image files. I need to create those files, in a way that anyone could open…
DavidGuaita
  • 501
  • 1
  • 7
  • 18
0
votes
1 answer

How to use public variables in Unity scripts put into asset bundles

I've searched on this question and found a lot of info related, but some inconsistencies, and no clear answer. In a Unity project, I'm creating asset bundles with gameobjects that have scripts (C#). I've learned how to do that, and it works. My…
Siddhartha
  • 223
  • 1
  • 2
  • 7
0
votes
1 answer

Memory leak's source from my Unity3d Asset Bundle loader script?

Is this assetbundle loader script can be the source of my game's leak memory problem? Is caching the AssetBundle-object bad? public class AssetLoadWrapper{ public static Dictionary cacheBundle; public static…
Agung Pratama
  • 3,666
  • 7
  • 36
  • 77
0
votes
1 answer

How to use asset bundle as database instead of PlayerPrefs in unity3d

I am new in unity3d. I normally use PlayerPrefs to store data like scores, coins etc in my game. I am working on a game in which I need to make dynamic database which can be alter by server side. Can I use asset bundle for it? Can anyone provide me…
Ankush
  • 2,405
  • 3
  • 22
  • 45
0
votes
1 answer

Destroying loaded assets from a Unity Asset Bundle

I've got an asset bundle loading in my project and I'm adding all of them to a list so that I can iterate through each of the individual object inside the asset bundle. However, I'm having trouble deleting the loaded object when I no longer need it…
N0xus
  • 2,674
  • 12
  • 65
  • 126
0
votes
0 answers

Android Application crashes, using Unity and Vuforia

first of all thank you for taking your time reading my Problem. I'm using Unity Pro 4.2.0f and a Nexus 10. The Problem is the following: My Application crashes after I loaded and unloaded +/- 20 Asset Bundles. Of course my first thought was that it…
Patric
  • 342
  • 4
  • 19
-1
votes
1 answer

Get Assetbundle name before loading

I'm working on a project where the user can load assetbundles during runtime, so we only have limited control over what assetbundles are used. Because of that, we have to be careful when we load multiple assetbundles since…
pixlhero
  • 418
  • 2
  • 8
-1
votes
2 answers

In Unity3D for iOS when loading on demand resources, how can I check the latest version is already loaded and if not, what is the download size?

I've recently transitioned my iOS Unity app to use asset bundles as on demand resources. This all works great! The only problem is that when the application first starts up and all the ODRs are preloaded it just starts to download them from the…
rotSin
  • 231
  • 1
  • 3
  • 13
1 2 3
16
17