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
1
vote
1 answer

Augmented reality : dynamic model loading

I am totally new to Augmented Reality and Unity 3D. The project that I am working on requires me to load a 3D object onto to the camera only after I select it from a list. For example, First page will give you a list say Apple, Orange, Mango and…
1
vote
0 answers

Excluding C# scripts from AssetBundle in Unity

I'm currently building an application with Unity3D for the WinRT platform. I have 2 projects: The main project that can download / load an AssetBundle and open a scene from it. A project with multiple scenes that generates AssetBundles which can be…
Devedse
  • 1,801
  • 1
  • 19
  • 33
1
vote
1 answer

Yii2: registerJs() implicitly includes JqueryAsset, how to avoid

In Yii2 there is a $this->registerJs() method available in views for registering inline JS. I use it as described in documentation: $js = "...prepare js code..."; $this->registerJs($js, View::POS_READY); The problem is that with View::POS_READY…
cronfy
  • 1,001
  • 1
  • 15
  • 32
1
vote
0 answers

Can one Unity Asset Bundle be used in multiple apps on the same platform?

I have shared assets that I would like to bundle into a single asset bundle, and have that bundle be available for multiple applications on the same platform (android) for download and use. This asset bundle would contain largely just models. Is…
user1116933
  • 469
  • 7
  • 14
1
vote
1 answer

What is Hash128 and its use in unity?

WWW.LoadFromCacheOrDownload(string url, Hash128 hash) uses hash128 but there is no proper documentation regarding hash, how to use this and why this is important? Is it related to securing the url in above function or something else?
Aryaman Gupta
  • 616
  • 1
  • 8
  • 20
1
vote
2 answers

How to Download an AssetBundle and then save it in the device

I'm using the LoadFromCacheOrDownload function, I'm just not sure how can I just download the asset bundle from inside unity and then load the asset bundle for a local in the device. Thank you! Here's the code I'm currently using: using…
1
vote
0 answers

How can I load all dependencies from an AssetBundle automatically?

I'm currently using Unity 5.3.4, and it's being kinda hard for me to get around using the Asset Bundles, and we really need to use them at our project. My main difficulty right now is that you can't make a bundle with it a scene and its dependant…
1
vote
1 answer

Unity scene empty after loading Asset Bundles

I'm creating an AssetBundle in Unity containing one scene with the following code: string[] scenes = {"Assets/Scenes/main.unity"}; BuildPipeline.BuildStreamedSceneAssetBundle( scenes , "main.unity3d", EditorUserBuildSettings.activeBuildTarget); I…
Alexfedel
  • 31
  • 3
1
vote
1 answer

Load Unity game scene from AssetBundle

I try to load Unity scene from AssetBundle with following code: using (WWW www = WWW.LoadFromCacheOrDownload("http://127.0.0.1:8080/unity/test-scene", 1)) { yield return www; if (www.error != null) { Debug.Log("Load Error " +…
1
vote
1 answer

keep fixed asset bundle hash values in unity

I use lot of asset bundles in my game and I use hash values to manage asset bundle versions. I've confirmed that asset bundle hash values being changed after updating unity. is there a way to keep fixed hash values with different unity versions? (I…
Hassy31
  • 2,793
  • 3
  • 21
  • 37
1
vote
0 answers

Missing object when load scene using asset bundle

So I was trying to make an apps with unity with assetbundle and it have no problem when I run it on PC and Android device. But when I run it on IOS, some of 3D objects are missing, the only missing 3D object is object with skinned mesh renderer. Is…
1
vote
0 answers

Scene is not loading properly from asset Bundle

Three days ago I am stick with asset bundle with unity 4.x what I have tried so far is given below: Making Scene Asset bundles using this code snippet which successfully making .unity3d Scene asset bundles for me public class SceneAssetBundleMaker :…
Muhammad Faizan Khan
  • 10,013
  • 18
  • 97
  • 186
1
vote
0 answers

Unity 5 import - Shader changed to Standard from Diffuse

I am loading 3d models (fbx) as assetbundles in my Unity Windows app. I am trying to upgrade my Unity 4.3 project to Unity 5.2.1. I am seeing a color difference in the models in Unity 5. They are darker than the previous version. When I compared the…
Madhu
  • 1,209
  • 2
  • 22
  • 28
1
vote
0 answers

create AssetBundleBuild with more files

I wish create an assetbundle that contains some text files that are textassets into my project.. the strange thing is if I do this: AssetBundleBuild buildInfo = new AssetBundleBuild { assetBundleName = "textAssets.unity3d", assetNames = new…
ghiboz
  • 7,863
  • 21
  • 85
  • 131
1
vote
1 answer

Unity: Loading an asset from an Asset Bundle without a file extention

I'm using asset bundles to load localised VO. These VO files could be .wavs or .oggs and it's not viable to specify which before loading the file. This is fine when loading the default files from Resources since Unity doesn't require the file…
Jean Finley
  • 507
  • 3
  • 9
  • 21