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
2 answers

Including non-standard resources in Unity HoloLens app

I'm building an app that must visualize a large point cloud on HoloLens 1st gen. As performance is an issue wit large clouds, I'm using Potree, an octree that takes care that only a preset number of points from the cloud are rendered. The solution…
1
vote
0 answers

Unity : from Asset Bundles to On Demand Resources

I'm currently looking to implement On Demand Resource on my project. I already use Asset Bundle, but I'd want some of them to be On Demand Resource. I found this page https://docs.unity3d.com/2019.4/Documentation/Manual/AppThinning.html And there is…
1
vote
0 answers

How create one app in unity and multiple scenes inside

I am developing a project in unity The scenario is that we have the main application, in which we want to receive different scenes from the server and display them in the program. I output the scenes using the asset bundle and upload them to the…
Erfankh
  • 33
  • 1
  • 6
1
vote
0 answers

How to load a mesh from an asset bundle?

I'm trying to load a mesh with scripts to replace another mesh. I'm not doing a Unity project but rather a visual studio project with unity references. My code for loading the asset bundle and getting the mesh is: var vshojoBundle =…
Loll Starr
  • 45
  • 1
  • 7
1
vote
1 answer

AssetBundle Caching Process. What happens when a Unity asset bundle is cached? What properties of an ab make it different from its cached form?

This is probably a very niche question, but what are the specific differences between an asset bundle and a cached bundle for the asset bundle system that Unity 4 used? I'm curious how cached files differ to asset bundles and what, if any, different…
FeroxFoxxo
  • 576
  • 1
  • 5
  • 18
1
vote
1 answer

How to load script component of a prefab on an AssetBundle in Unity3D?

So I have a gameObject(Let's call it XX) and I have created a Prefab of XX that contains a script (the XX prefab has a script component). When I build the AssetBundle and I load XX on a button click the gameObject of XX loads correctly but the…
Kamzel
  • 23
  • 5
1
vote
0 answers

Video doesn't play first time on Android

I have an Augmented Reality scene which downloads an AssetBundle containing a video. The video is set to Play on Awake so that it plays as soon as it is downloaded and instantiated. On iOS the all works perfectly, however on Android, the AssetBundle…
1
vote
0 answers

How can I show unity UI Slider filling with unitywebrequest downloadProgress for any file type in android?

(Sorry for bad english) Hi, I'm using this code for download assetbundle or .mp4 files via unitywebrequest : public IEnumerator Download (List urls) { for (int i = 0; i < urls.Count; i++) { string ext =…
1
vote
1 answer

Dealing with massive amount of user generated images in Unity3D

I need to create a system where we load images into the game. Those images can be uploaded by the users of my app through a dashboard. I download them to the device(persistent data path) and load them from there. The question is, should I load them…
Daniel Tranca
  • 1,374
  • 3
  • 13
  • 23
1
vote
0 answers

Unity Addressables, make content update skippable

For my application I have a couple of really large bundles and I want the user to be able to skip (specific) updates to the content. At the moment I'm using the Addressables.CheckForCatalogUpdates() which lets me know If there's an update. But using…
Gijs Beijer
  • 560
  • 5
  • 19
1
vote
1 answer

Google Cloud Storage download fails in some users' devices

I'm creating an app with Unity3d 2019.2.9f1, and trying to utilize Google Cloud Storage as a data store of asset bundle. In some users' environment, there were network errors below: 400 GET https://storage.googleapis.com/storage/v1/b/... 'Unable to…
Tatis
  • 11
  • 3
1
vote
1 answer

On iOS, UnityWebRequest download stops when app goes to background

I use UnityWebRequestAssetBundle.GetAssetBundle to download asset bundles located on a remote server. While everything works as expected on Android, the download stops on iOS when minimizing the app (or when the device goes to sleep). When I…
1
vote
2 answers

How to get unity assetbundle manifest?

Here my code: AssetBundle ab = AssetBundle.LoadFromFile(Application.dataPath + "/uia.manifest");//get null here AssetBundleManifest manifest = (AssetBundleManifest)ab.LoadAsset("AssetBundleManifest");
TimChang
  • 2,249
  • 13
  • 25
1
vote
3 answers

How can i load and instantiate any game object from assetbundle?

I have some assetbundles which we create for unity 5.6 automatically, any of these assetbudles has one game object inside it. my example asset: c6f97739ec43264ef3bfae7b1dc55e88.unity3d link: https://www.file-up.org/891dtdi54n0l so, we have already…
Rooz
  • 215
  • 3
  • 13
1
vote
1 answer

How to download an assetbundle into the app folder for IOS/Android and get the required model from it?

Around 5 models were given the name 'kitchen' and around 3 models the name 'furniture' in AssetBundle. Then I created them into the local path using the following code: [MenuItem("Assets/Build Home Assets")] static void BuildKitchenAssets() { …
zyonneo
  • 1,319
  • 5
  • 25
  • 63