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

unity assetbundle loadasset type

I am having issue with the asset bundle from unity. I have a bundle with multiple assets in it with the same name, but different extension, like bonus.png bonus.prefab. When I try to instanciate a prefab named bonus, the…
DrDoom
  • 149
  • 3
  • 16
1
vote
1 answer

Assetbundle size issue when I make scenes(.unity3d files)

I'm trying to reduce assetbundle size. Most of other assetbundles size are decreased by just modify max texture size in texture importer setting But scene assetbundle does not. when i build assetbundle with scenes, 'Levels' take a big size. what…
zone1020
  • 27
  • 1
  • 8
1
vote
2 answers

AssetBundle Unity on Server

I would like to ask if anyone create Assetbundle in Unity on cloud? I would like to generate the AssetBundle dynamically on cloud and the client app will download it accordingly. Could you let me know your idea? Is there any cloud service for…
Souris
  • 326
  • 1
  • 5
  • 13
1
vote
0 answers

Using Occlusion Culling with Asset Bundles in unity

I am working on a web based Unity project with large number of objects and textures. So I am using Asset Bundles to load assets dynamically in scene. Is there any way to use Occlusion culling on a scene that contains Objects loaded and Instantiated…
1
vote
0 answers

Loading an assetbundle from the editor

I've created the ability to download and store an asset bundle to my device. Now I'm trying to load an assetbundle from an already downloaded bundle. I'm saving the bundle like so: IEnumerator Start () { WWW urlToLoad = new WWW(url); yield…
N0xus
  • 2,674
  • 12
  • 65
  • 126
1
vote
1 answer

Unity3D How to using AssetBundle.LoadAsync direct load prefab from Assets folder

Can i using AssetBundle.LoadAsync direct load a prefab from Assets folder? in Assets/Bundle folder has a prefab called "BGELement" , i did not want put it in to Resources folder and using Resource.Load to load it. the follow is my code ,but it make…
user2982999
  • 11
  • 1
  • 2
1
vote
0 answers

Unity AssetBundle.LoadAsync and Code Stripping

We need to reduce the memory consumption of our title, initially for iOS and then later for Android. One of the areas we're looking at is code stripping as suggested in the article Optimizing the Size of the Built iOS Player. Testing the various…
Dennis
  • 20,275
  • 4
  • 64
  • 80
0
votes
0 answers

CRC Mismatch - Unity

I have more than 100 addressable bundles in my application, Some bundles are getting downloaded properly when I open application, but in the same session if I try to download any other bundle then I get CRC mismatch error while downloading…
0
votes
1 answer

3DModel loaded from an Asset bundle does not show up in scene on Android, but works in Unity Editor

I'm downloading Asset bundles built for Android platform from server. These Asset bundles contain prefabs, 3D model files and textures of the model. I'm then using the Asset bundle to spawn the prefab in scene. All this works fine in the editor. But…
0
votes
0 answers

In Unity Android Development, in situation that updating App, but no changes in Bundle

When updating my app, if there is no changes on the bundle, how to not download the bundle after updating app? Using Unity addressable bundle and build to aab. Pre-version start down bundle Next version updating, and just look download bundle…
0
votes
1 answer

Warnings and errors objects when loading a Scene from an AssetBundle (Unity 2021.3)

I'm trying to load scenes from an AssetBundle that is stored on the device locally, but when I try to load the scene, the loading process goes well but when the scene ends loading, I get warnings and errors like: The referenced script (Unknown) on…
CosmoXD
  • 11
  • 3
0
votes
0 answers

How do I access On Demand Resources on Unity application for IOS?

I have been trying to access the On Demand Resources in a unity project for IOS. I followed the documentation for IOS app thinning, and wrote the following code to load the bundle into an AssetBundle variable: using System.Collections; using…
0
votes
0 answers

PlayableAsset from AssetBundle is null on Oculus Quest 1

I'm making Oculus Quest 1 app in Unity. First I describe whole workflow: In unity_project_1 im making animation using Unity Timeline window. After animation is done I'm building asset bundle with prefab containing components: Animator,…
0
votes
0 answers

Is there a way or an alternative to make asset bundles in a built project

I am currently doing an internship and I am working on a tool that needs to export a given assets (mostly prefabs) into asset bundles. The main problem being that the functions needed for that are only available inside the editor, and I need to make…
Billy
  • 1
  • 2
0
votes
1 answer

Instantiate game object loaded from assetbundle lost animation clip

I Had all my Npc's prefab packed into assetbundle with all dependencies,but when I finished loading all dependencies of one npc and instantiate it into scene, some times the animation clip on it can't be played. I print…
olooer
  • 5
  • 2