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
1
vote
0 answers

how can i change or add a specific asset in Asset Bundles package,withou send all old asset where i don't want to change(unity)

I apologize in advance for the bad English because I am a French speaker. I would like help on a problem regarding the creation and management of DLCs with AssetBundles on unity. Here's what I would like to do: I create a game with just one scene…
GMBK
  • 21
  • 2
1
vote
0 answers

Received no data in response when loading asset bundle in unity 2019.2.9

Recently I have converted my Unity 2019.1.0 project into Unity 2019.2.9 and it is a WebGL project. In the project I am using asset bundle and here is the snippet to load the bundle: IEnumerator DependancyAssetBundleLoader() { www =…
Muhammad Faizan Khan
  • 10,013
  • 18
  • 97
  • 186
1
vote
1 answer

Failed to decompress data for the AssetBundle 'Memory'. (Webgl)

I'm making a game for webgl. But when i upload the assetbundles on the link and then loading it in the game it show error. error: Failed to decompress data for the AssetBundle 'Memory'. UnityEngine.WWW:get_assetBundle() NullReferenceException:…
1
vote
0 answers

Unity - UWP Build Target support in Linux/Ubuntu

I need to run a Unity Script to generate asset bundles in a Linux/Ubuntu server. The Unity will be on that server but the assetbundles are built for UWP (BuildTarget.WSAPlayer) . According to this thread it is not supported. But has things changed…
Madhu
  • 1,209
  • 2
  • 22
  • 28
1
vote
1 answer

How to get hash from Unity AssetBundle to check cache?

I am newbie in AssetBundle and try to learn about this. Currently, I can load the asset from the server, but I cannot get hash from the asset file itself. It's keeping return NullException. I have tried follow the doc…
1
vote
1 answer

Using Unity 3d asset bundles on Hololens from device folders

We are building a Hololens app which is going to use asset bundles from the device folders, but we are getting a 'Unable to open archive file' error when trying to load the bundle files. As we don't have much experience with asset bundles we…
Eldir
  • 131
  • 8
1
vote
1 answer

How can i upload the assets bundle on Firebase server? google provides server to upload asset bundles that can used for android / IOS platform games?

I have generated asset bundle from unity and i am trying to upload it to google server, most probably i am expecting firebase provides such services. I am trying from last two days but i didn't found a solution to upload the asset bundle to firebase…
1
vote
0 answers

Why is Unity for iOS causing Memory Leaks without WWW class being called?

I am using Unity AssetBundles for async loading. On iOS this seems to cause a memory leak. Every time I load a new bundle it adds on to the used memory but never seems to release the previous memory even though the unload function and destroy are…
cvolpe
  • 41
  • 6
1
vote
1 answer

How I can test AssetBundle (DLC) locally on Android in Unity?

I'm trying to test some AssetBundles for the game that I'm currently working on. I want to use this because I don't want the game to take a lot of space. I still don't know how servers work and how to upload them over there. I was searching on how…
CRM MO
  • 59
  • 1
  • 10
1
vote
1 answer

Load Prefab and AnimationClips from different AssetBundle

I'm trying to load Prefab from one AssetBundle and its corresponding AnimationClips from another. So far loading the Prefab from AssetBundle and Instantiate are successful. AssetBundle assetBundle = AssetBundle.LoadFromFile(path); if (assetBundle ==…
Vignesh
  • 3,571
  • 6
  • 28
  • 44
1
vote
1 answer

Unity3D asset bundle sprites/default shader issue

I've updated my unity from 5.5.2f1 to 5.5.5p2, after building my first build, all of the assets containing sprite renderers where the shader is "sprites/default" downloaded from the cloud (which were working perfectly on builds from earlier version)…
user51929
  • 185
  • 1
  • 15
1
vote
3 answers

A lot of 3D model file can freeze Unity editor and Jetbrains Rider

I would like to use a lot of 3D models more than 4000. The folder can be at least 20GB size. When I opened this folder with Unity editor, it freeze my Unity engine and Jetbrains Rider as you thought. However, these models is no reason to be loaded…
kyasbal
  • 1,132
  • 3
  • 12
  • 27
1
vote
1 answer

Can I save asset bundles as prefab during run-time?

New to Unity so pardon any mishaps. Till now I have: 1- created an asset bundle 2- uploaded it to server 3- downloaded the asset bundle 4- extracted objects from the asset bundle and used (instantiated) them "in game" via script. Now the issue…
1
vote
0 answers

Unity Assetbundle Textures appear black

I've been trying to fix this for several days now and I'm not really sure how. First I'm creating AssetBundles which have prefabs and GameObjects with Textures. After building the AssetBundle, it's uploaded to a server, and in another Android app, I…
1
vote
1 answer

AssetBundle.LoadAsset is always returning NULL

I am unable to load asset as Gameobject from Assest bundle . It is returning null yield return www; AssetBundle bundle = www.assetBundle; if (www.error == null) { GameObject tv = (GameObject)bundle.LoadAsset("tv"); …
Faiyaz Md Abdul
  • 546
  • 5
  • 14
  • 29