Questions tagged [assetbundle]
The assetbundle tag has no summary.
29 questions
0
votes
0
answers
118
views
Unable to determine cause of memory leak in Unity when using Addressables. Can anyone give suggestions on what the cause might be?
I'm creating a simple bullet hell game for Android and I ran into an issue when diagnosing my game using the Memory Profiler where memory usage was increasing after each play-through. I had calls to ...
1
vote
0
answers
118
views
Why are my Addressables working for PC Standalone build but not Android?
I have a CCD pipeline set up using Addressables and they seem to load perfectly fine from Unity's CCD buckets but when I build for Android and test on my mobile device, it leads to a 400 error.
Here ...
1
vote
0
answers
76
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
455
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 ...
1
vote
1
answer
634
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
1k
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
443
views
Creating Asset Bundle in Unity 2021
I am using this code snippet in unity 2021.3.16 to create Asset bundles:
...
0
votes
1
answer
2k
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
577
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
690
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
185
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
2k
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
15k
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
307
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
206
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.
...