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

How can I convert UnityEngine.Object[] that contains Texture2D to Texture2D[]

How can I convert UnityEngine.Object[] to Texture2D[] ? I am using this script : void Start() { string dataFileName = "skins"; string tempPath = Path.Combine(Application.persistentDataPath, "AssetData"); tempPath =…
0
votes
0 answers

Yii2 using AppAseets right way?

I have added the assets file(css, js) in assets/AppAssets.php example: public $css = [ 'css/style.css', 'css/page-builder.css', 'css/settings.css', 'css/style-core.css', 'css/style-custom.css', …
Dinesh
  • 143
  • 2
  • 8
0
votes
1 answer

Why can I not load assets via Resource.LoadAll() at runtime when running on IOS but the assets load fine on OS X?

After struggling to load assets from resources (I still haven't figured out why this wouldn't work actually) I was able to finally load assets during runtime after packing them into AssetBundles using the following code: var myBundle =…
Ben Arceneaux
  • 185
  • 1
  • 10
0
votes
3 answers

Failed to decompress data for the AssetBundle 'Memory'. -- Unity3D AssetBundle Loading

IEnumerator WWWLoader() { WWW bundleRequest = new WWW("*****************"); while(!bundleRequest.isDone) { yield return null; } AssetBundle bundle = null; if (bundleRequest.bytesDownloaded > 0) { …
Jahill
  • 78
  • 1
  • 7
0
votes
1 answer

Unity: .car file format?

I have file (not mine) with extension .car. As I understand, it is resource/model, that can be used in Unity Engine. Thats the beginning of…
Denis Kovzan
  • 118
  • 4
0
votes
1 answer

Is it possible to use Unity Addressable Assets from a Web Hosting Service?

I am currently developing a mobile game and I recently stumbled on Addressable Assets. I watched a few tutorials and I have placed my test assets onto my web server which I use with the web hosting service HostGator. The test prefabs that I have…
0
votes
1 answer

How to build video manager with Unity Addressable Assets?

I am working on a project where users can watch 360 videos on the Oculus GO, the problem is the file is too big since the videos are higher quality. The best solution I found is Asset Bundles or Addressable Assets. I got the addressable assets to…
0
votes
1 answer

Does UnityWebRequestAssetBundle use caching automatically?

I use the following code to download my asset bundle from a server. If I run this code for a second time after a restart for my app, will it redownload the bundle or not because it's in the cache? and how will I know if it's redownloading / not…
SHAI
  • 789
  • 3
  • 10
  • 43
0
votes
0 answers

Build and Load AssetBundles with Unity for videos?

I'm trying to build an application for OculusGO but the file is too big so I'm working with AssetBundles to lower the size. I've worked with this link so far Build and load Assetbundles in Unity but I don't know how to do this with videos. I…
0
votes
1 answer

How to save AssetBundle on device?

I have a game app, once my user gets to level 25- I want to download new pics (wallpapers&characters) that weren't included in the installation, I can do it with assetBundle . But I want to download the assetBundle only once and save it…
SHAI
  • 789
  • 3
  • 10
  • 43
0
votes
1 answer

Referencing to gameobject's renderer material after being instantiated from downloaded asset bundle not working

Hi! If you want to save time and still help please read this section and the last one to get glimpse of my problem (part 1 and 6). So much code was needed to fully present problem Using Unity 2019.3.0b2 1. Im creating WebGL application that allows…
Seoner
  • 101
  • 8
0
votes
2 answers

How to load scripts required by asset-bundle unity?

I'm working on a unity project in which game scene get downloaded and run at run-time. I make it work by making asset-bundle of scene and load it but problem i'm facing is scripts required by scene are not included in asset-bundle. I just got stuck…
inabdev
  • 11
  • 1
  • 7
0
votes
1 answer

Unity iOS crash when unloading assetbundle scene

I have separated some mini games in another project to load them all in one project. I have created asset bundles successfully with Unity 2018.4.9 version and put them into StreamingAssets folder. Unity Editor loads and unloads scenes successfully…
Ali Avcı
  • 1,281
  • 1
  • 11
  • 24
0
votes
1 answer

Valid AssetBundle Throws Null Reference Exception (NRE) With Any API Call

This question is not about what a null reference is, this question is about why a valid AssetBundle is throwing an NRE in an API I cannot step through I have been converting my project from using the Resource folder to AssetBundles. I have tagged my…
Aggressor
  • 13,323
  • 24
  • 103
  • 182
0
votes
0 answers

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 control by artists. My approach is to: Load a bundle…
Omar Guendeli
  • 322
  • 1
  • 8