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

AssetBundles on iOS: Memory always increases, causing crash

We have our asset bundles stored on an Amazon S3 bucket. When the game starts, it determines which bundles it needs to download new versions of, using WWW.LoadFromCacheOrDownload. The problem we're running into is the memory iOS reports it has…
PaxThor
  • 21
  • 1
  • 3
2
votes
1 answer

How to update my game made with Unity running on Android?

My game have 100M asset bundles, I put the budle files into the StreamingAssets folder(I want to release my apk as one whole app, not the downloading when playing style), then I built my project into one apk file, then I installed the apk file to my…
user3171615
  • 23
  • 1
  • 4
2
votes
0 answers

how to build AssetBundle from Gameobject in hierarchy not selection?

i am trying to automate the process of manual selection of game object from hierarchy then drag into the project panel by mouse then select Track dependencies from the menu and exporting the prefab into .Unity3D file i want to automate this by code…
Ti7a
  • 101
  • 1
  • 3
  • 11
2
votes
1 answer

Which way is better to handle AssetBundle Download Management

Before going to ask the question, I will explain what kind of requirements I need. In my game, there are a lot of textures needed in order to play it. Because of this and the limitation of ipa size (iOS), I think using assetbundle is a must. Because…
Agung Pratama
  • 3,666
  • 7
  • 36
  • 77
1
vote
0 answers

Unity URP fog works on scene objects but not loaded assetbundles - why?

I'm using Unity 2021.3.15 LTS with URP, and I'm having trouble with fog. When I create an object in my scene and turn fog on using the Environment tab of the Lighting window, the fog effect works fine. However, when I save that object to an…
Semaj56
  • 11
  • 2
1
vote
0 answers

How to access files within an asset folder and track the length

I want to be able to track the number of files in the main directory and if possible the sub directory as well. The below code builds more than I expect. I had the solution and actually don't know where the 'assestManifest.json' directory is but is…
1
vote
1 answer

Unable to locate file in Vite manifest:

i'm using Asset Bundling (Vite) to show my css and js files, but i'm getting this error Unable to locate file in Vite manifest: resources/demo/demo.css. there is a dot at the end of the address. this is my vite.config.js import { defineConfig }…
1
vote
0 answers

flutter -How to test if a specific lottie animation is being rendered in widget test

Hi I have a LottieBuilder wichh loads an animation via json from assets. LottieBuilder.asset( 'assets/animations/no_wifi_animation.json', repeat: true), i want to a write a test to determine that the specific json animation…
R3HP
  • 470
  • 4
  • 13
1
vote
0 answers

How to check asset bundle's target platform?

I have a database which contains asset bundles for my game which are built for both android and ios. Sometimes, i mistakenly put ios asset bundle into android database or vice versa. I want to get notified in Unity if i make this mistake. Is it…
1
vote
1 answer

Unity LoadAssetBundles changes Material into Pink ? (URP)

In Unity URP when i load Assetbundle from server all it's materials shaders are correct but object becomes PINK. Any Idea how to resolve this?
Abhishek Jain
  • 179
  • 2
  • 7
1
vote
0 answers

Why Unity load scene from AssetBundle is faster than loading from obb

we are trying to build our game to apk+obb include the game scene. We use SceneManager.LoadSceneAsync(sceneName) to load the game scene, and it spend about 6.6 seconds. Then, we use AssetBundle to build the game scene bundle. And we build our game…
1
vote
0 answers

Can't get textures to XRReferenceImageLibrary from assetBundle

AssetBundle has paths to images in the asset bundle file but I can't extract it to use in runtime References in asset bundle private static void Initialize(AssetBundle myLoadedAssetBundle) { if (myLoadedAssetBundle == null) { …
1
vote
0 answers

Huge Time Lag of Addressables Package Method in Unity Engine

within the unity project We are managing asset bundles using addressable packages. However, there is a huge time lag when getting the download size using Addressables.GetDownloadSizeAsync(string). Does this happen if the number of bundles managed is…
윤세일
  • 11
  • 1
1
vote
0 answers

Unity error: InvalidOperationException: HTTP/1.1 403 Forbidden

so all of a sudden I'm getting this error in my unity project. InvalidOperationException: HTTP/1.1 403 Forbidden UnityEngine.Networking.DownloadHandler.GetCheckedDownloader[T] (UnityEngine.Networking.UnityWebRequest www) (at…
Remy Konings
  • 35
  • 1
  • 9
1
vote
1 answer

Multiple Asset Bundle Download Cache Problem

I'm using UnityWebRequestAssetBundle.GetAssetBundle(url, bundleData.version, bundleData.crc); system and I can successfully download and use bundleAssets online. But when I want to download multiple bundle assets and save them to use offline for…