Questions tagged [assetbundle]
The assetbundle tag has no usage guidance.
28
questions
1
vote
0
answers
15
views
Do objects loaded from AssetBundle need to be unloaded after they are no longer in use?
For example, in the LocalizationProvider class a Sprite is loaded this way
...
0
votes
1
answer
166
views
How to reference assets between multiple asset bundle in Unity?
I am trying to figure out how to properly package my bundles. My goal is to try and avoid necessary duplication of assets and cut down on download time of the assets by having smaller bundles. The ...
0
votes
1
answer
222
views
When loading only one item from the asset bundle in Unity, does the whole asset bundle need to get downloaded?
I am deciding on how to package my asset bundles that will be loaded from the web server at some point in the game. Currently I am thinking of packing them by types: for example, I would have one ...
1
vote
1
answer
695
views
"Graphics device is null" error on a Linux dedicated server build
In my project I am trying to build a dedicated server build to deploy to Multiplay hosting services.
Build target is Linux OS,build settings are default, scripting backend set to IL2CPP.
When ...
0
votes
1
answer
174
views
Creating Asset Bundle in Unity 2021
I am using this code snippet in unity 2021.3.16 to create Asset bundles:
...
0
votes
0
answers
475
views
Unity AssetBundle extraction
I'm not sure if it is the right site to question since asset extraction is not a development. If it's inappropriate here please tell.
I'm trying to extract to inspect assets from a game for Android. ...
0
votes
1
answer
1k
views
Duplicate class errors when building app larger than 150mb with Android App Bundles
I have been trying to get Asset Bundles to work since my app is larger than 150MB, but the Google -> Build Android App Bundle... step keeps failing on me.
I am ...
0
votes
1
answer
400
views
Asset Bundle download from server: how does one prevent scripted attack?
I am relatively new to how asset bundle works in Unity. Based on my learning, it seems one uses UnityWebRequest.GetAssetBundle to download an asset from a specified ...
1
vote
0
answers
451
views
What may be causing AssetBundle.LoadAsset to freeze the game and device?
My game uses AssetBundles, all located locally in StreamingAssets (although on Android they're automatically put in the .obb file). We use them for almost everything - monsters, areas, music, and... ...
0
votes
1
answer
120
views
How to create closed source Unity bundle
I want to create an asset/bundle that I can drop into projects to get up and running easily. Ideally this bundle would be closed-source so that the code is not accessible, but yet still usable. Is ...
1
vote
0
answers
1k
views
Unity - Adressable - Build size is bigger than expected
After fixing all duplicates using Analyze tool, the apk file still bigger than before i start using Addressable.
All my bundle is local and use LZ4 compression.
Here what i have done:
Fix all ...
2
votes
2
answers
13k
views
Advantage of Using Addressable Over Asset Bundles in Unity
I have a project that already uses asset bundles. I download assets when the game starts and show them to the user when needed.
I see that Unity provides addressables as new solution for asset ...
0
votes
1
answer
278
views
How to set up Easy Mobile Pro to work with assembly defintions?
I have a project with EMP imported, and now I would like to use assembly definitions to clean up my project a little bit. Everything works fine in the editor, but when I hit Build player script in my ...
0
votes
0
answers
165
views
Performance in unity at runtime (mesh creation) vs (assets bundle loading)
I'd like to load a 3d model that contains several objects in real-time. I believe I have to two methods to do this:
create an assets bundle that contains my model (all object) and loaded at runtime.
...
2
votes
1
answer
284
views
Reducing disk space needed to use TextMeshPro in AssetBundles
My game uses AssetBundles, and quite often each of those bundles use TextMeshPro. The project is at a stage where it would be ...
1
vote
0
answers
6k
views
Can you load all assets inside an Addressable folder?
So, I have a folder marked as addressable. This folder has many sub-folders, which might have more sub-folders, ultimately having some .png images.
I would like to ...
1
vote
1
answer
2k
views
Create and serve AssetBundle at runtime
What I am developing is not a game, but is done in Unity3d, so I believe here is a good place to ask.
Context:
The unity application runs in the WebPlayer inside a web application
Case:
User ...
1
vote
2
answers
1k
views
How to build only specified assets into assetbundle in unity
I have searched through the few results pertaining to this particular question, but haven't found any results that work. A simple rundown of what i am looking for is to be able to make a single asset ...
0
votes
0
answers
29
views
just download first assetbundle
In the Start of my scenes I call the method that downloads the assetBundles for that scene. The problem is that it only downloads the first assetBundle from the list, the second does not download it. ...
1
vote
0
answers
207
views
Estimate an AssetBundle size in RAM
I'm working on a small tool on top of the Asset bundle browser to estimate how much size in RAM a bundle will take so I can put a hard limit / validation before a bundle is submitted to version ...
1
vote
0
answers
522
views
Unity Particle Systems from AssetBundle not rendered properly
Background
I'm developing a (mobile) game that makes use of particle systems to display blood splashing. The particles are - like most assets (characters and whatnot) - world based which means there ...
0
votes
1
answer
757
views
WebGL Freeze for some minutes after loading asset bundle
I have to Load/Unload models from a specific URL based on player position. For this reason I am checking player position from model and then load/unload related piece of model in a ...
5
votes
1
answer
6k
views
How to use AssetBundles with Unity WebGL
I have a Unity WebGL project that tries to load AssetBundles, but I get an error:
Unable to open archive file: http://localhost:50212/StreamingAssets/Bundles/language_english
The code that creates ...
1
vote
3
answers
1k
views
Various unreproducible crashes caused by asset bundles
We recently released a game on iOS and Android, and a bunch of crash reports have started coming in on iOS through Crashlytics that appear to be due to problems with shaders in asset bundles and other ...
-1
votes
2
answers
4k
views
Unity is single thread then why unity webgl says asset bundles are load in main thread
Got stuck in a performance issue in Unity WebGL that whenever my asset bundles are load, my unity game gets freeze for some seconds/minutes. I know that unity is not thread-safe and it is based on a ...
0
votes
3
answers
1k
views
Open world loading/unloading with asset bundle in unity
I have a very large environment which I have to load/unload in unity Webgl as I can't load them at once. So, I have divide the environment into 1000 x 1000m (1km) (each chunk is consist of three layer ...
1
vote
0
answers
668
views
how to release unity webgl memory from asset bundle
I have stuck in a weird problem, in my Webgl project i am loading asset bundle frequently which is working fine but after unloading the asset bundle the memory is still not releasing. I am using ...
1
vote
1
answer
7k
views
How can I make an update patch for a Unity game on Windows?
I ran into trouble making a PC game using Unity.
If I try to update my game, I can't a update the C# scripts (because AssetBundles don't include C# scripts)
So I think I'll need to use a server and ...