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

Question about memory when loading many unique sprites in Unity game using addressables

In our Unity game, we are creating a 2D first person game (Myst-style), so we naturally have many many Texture2Ds. We didn't think much of it until we starting experiencing crashes on older iOS devices due to memory issues. So I need to change the…
Charlie Tobler
  • 51
  • 1
  • 1
  • 10
0
votes
1 answer

How do I get an array/list filled with all the image paths I loaded as assets in Flutter?

I want to know if there is a way (with or without pubspec.yaml asset list) to read a directory where images will be stored, and create an array with all the paths to each image, so I can go through the array (say, with a FOR ) and create a gallery…
0
votes
2 answers

unity asset bundle 3

I'm getting this error when i loading my second bundle. ArgumentException: The Object you want to instantiate is null. UnityEngine.Object.CheckNullArgument (System.Object arg, System.String message) (at…
0
votes
1 answer

unity Asset Bundle 2

guys I need a help with Unity Asset Bundle I want to load my models from server like website, Google Drive (For Test) and also from Android mobile Internal or External Storage. Please Help me
0
votes
1 answer

How to Load a Scene From Asset Bundle in unity 2018

I am working in unity 2018 Asset Bundle. In my project i have to pack the entire scene inside of an AssetBundle and when i needed, the game will download the AssetBundle from the internet and then it should unpack it. I have used this code.for…
cloudfire
  • 27
  • 3
  • 7
0
votes
0 answers

How would I put a video in this Unity sample game (Trash Dash)?

I have put a Video Player component into this Unity sample game project to see if it's possible, but when I put it on Android it doesn't play and Logcat says the video can't be found. The Video Player Component has been placed on a plane added to…
0
votes
0 answers

How to add an error message in my unity project when the asset bundle is of wrong format?

I want to show the error message when the asset bundle uploaded is of wrong format. How can it be done in my unity project?
0
votes
0 answers

Load Script in AssetBundle at Runtime (Unity3D)

I try to load scripts in AssetBundle in runtime. I created an asset bundle that contain a prefab. This prefab has some components. The scripts of these components are not in the bundle (Because of a bundle cant contain scripts) . When I…
0
votes
2 answers

Unity Asset Bundles Rebuilding with Old Data

I have a mobile project which displays various AR experiences to the user via a mobile application. This application is made in Unity. Alongside this Unity project we have a second project that stores asset bundles exclusively. Each AR experience…
Liam
  • 135
  • 11
0
votes
3 answers

Yii2 Register Asset Files (js) at the end of all js files

I am trying to add a js-file to my view via AssetBundles at the very end of the page. When using the static approach with MyAssetBundle::register($this->view), I could use jsOptions with 'position' => \yii\web\View::POS_END, which works as it…
user9597084
0
votes
0 answers

How to add an AssetBundle into cache from a file

I have an AssetBundle on disk, a string path pointing to it and the Hash128 bundleHash of the bundle. How can I move the AssetBundle from path into Unity's AssetBundle caching system? I cannot use UnityWebRequest.GetAssetBundle(path, hash, 0)…
Nicolas
  • 331
  • 4
  • 13
0
votes
1 answer

Unity assetbundle scene unload

I have created few assetbundle scenes for my project. Now I am downloading the assetbundles and able to load scenes. Here the problem is that when I run a scene and exit from that and try to reload the same scene once again, it is giving an error…
gowthy
  • 3
  • 2
  • 5
0
votes
1 answer

Build an AssetBundle runtime

I'm using Unity and I need a button that calls a function that allows me to build an AssetBundle, so I can make a software external from unity that allows me to build AssetBundle; is it possible? Thank you all.
0
votes
1 answer

Can I run BuildPipeline.BuildAssetBundles in playmode?

Hi everyone I need a help with Unity. I need to run the method 'BuildPipeline.BuildAssetBundles' after I click a button while i'm using the built software, is it possible to do? I know that this is an editor script, but is there a way to call it in…
0
votes
0 answers

best way to compress an assetbundle in Unity

if use built-in compression (LZMA, LZ4) of build pipeline, process must flow like [Compress] > [Encryption], and [Decryption] > [Decompress]. but, I want to download, just decompress and then write on disk to use every-time I need. is there a good…