Can you use an asset bundle to replace an existing scene?
If I include a scene in my application and also including it in a downloadable asset bundle, will the downloaded scene replace the embedded scene? The reason I'd like to do this is so I can ship a game...
View ArticleWhy are only some of my scripts missing/"failed to load" only when loading...
When instantiating prefabs loaded from asset bundles, some of their script components give the "referenced script is missing" / "associated script can not be loaded" error and some do not. I can't find...
View ArticleHandling hybrid assets (Package and Bundle assets)
Hi all, Recently I started developing a downloader for my game but I have some questions: 1. When developing, I have created folder "Resources" and I have some model / texture etc put under this...
View ArticleData Persistance, Resources and AssetBundles
So I'm creating a game based on user created content. In the game, users will be able to create maps made up of tiles and various other objects. At present, I could use the Resources folder to store...
View ArticleSet animation clip humanoid
Hi, I am creating an asset bundle on the fly by importing assets from a given folder. One of the assets is an fbx file, which contains an animation clip. I need to set the IsHumanMotion flag to try, so...
View ArticleLoading an asset bundle is null on second load
Hi, I use the following code to load an asset bundle from disk: AssetBundle.CreateFromFile(path); This works first time I run this code, but if I try to load the same asset bundle later (while the...
View ArticleHow can I load AssetBundle contents into Unity that were built to be streamed?
Hello, I wanted to know if anyone can help me understand how to load AssetBundle contents into Unity--these assetbundles are ones for streaming, as in they are downloaded in the user's LocalLow...
View ArticleBuild Asset Bundles and then build the player
I'm trying to make a asset bundle build before making the player one with the idea of excluding the assets inside the assetbundle on the player build. To make it possible I'm doing the following...
View ArticleGetting "The unity3d file is not a valid asset bundle" error
I'm using local assetbundle files (*.unity3d) to load assets. It works fine, but sometimes I get "The unity3d file is not a valid asset bundle" error. I don't know why, and the error does not always...
View ArticleHow to play sound while animation load using assetbundle
I'm loading animation from server using assetbundle and i want to play sound for this animation. In the 3ds Max everything working fine and the audio also playing with animation. Then developer given a...
View Articlebest way to handle in app purchase?
Hi I know there are a lot of questions about In App Purchases, but I haven't found what I'm looking for, yet. So I try to ask you. I'm working on a round based board game which should have the...
View Articletoo much recursion WWW firefox
Hi, I have an issue with firefox and webgl. When download an asset bundle in firefox, I get an exception : too much recursion. I've seen there was a similar issue before at...
View ArticleAssetBundle.LoadMainAssetAtPath not loading .meta files
Hi friends, I am currently building an asset bundle. The list of files is retrieved from Directory.GetFiles method. This is also returning .meta files. So I am trying to load all assets in a directory....
View ArticleWhy is the Unity game cache 4GB for PC and 50MB for web player?
I recently got a question from a co-worker about Unity that I wasn't able to answer. Unity has a game cache limit for AssetBundles of 4GB for PC/Mac/Linux builds, and 50MB for web players. Are these...
View ArticleLoad scene from asset bundle
I have asset bundle with single asset -> "Assets/scene.unity". I try to instantiate my scene on Android with Unity 5: string[] scenePath = bundle.GetAllScenePaths(); Debug.Log(scenePath[0]); //...
View ArticlePrefabs and new asset bundles system
Hi all, I am trying to set up some asset bundles using the new system and am running into an issue with prefabs. It appears that if I bundle a prefab in one asset bundle but bundle the material it uses...
View ArticleUnity 5 Assetbundles functions obsolete in Unity 5.
So I have read all about the new Unity 5 Asset Bundle system, and I follow it. The problem is, a lot of functionality has been removed from the scripting side. Or rather, it still works, but it has...
View ArticleAsset Bundle vs Texture
Hi folks, The game I'm working on requires that I download icons for many, many items that can be purchased in the game's market. These icons are roughly 128x128, and do NOT get saved locally on the...
View ArticleAssetBundles Unity5 (No AssetBundle has been set for this build)
Hi, i have saw the changes in Unity5 assetbundles export methods. However i need to create assetbundles in a script and run that script from command line. In unity 4.6 it worked. I was trying to create...
View ArticleCallback if LoadFromCacheOrDownload runs out of space on device?
Hi all, Is there a way to be notified if a call to WWW.LoadFromCacheOrDownload runs out of space on mobile device (iOS/Android)? We are downloading assetBundles from a http server that the game expects...
View Article