Quantcast
Channel: Questions in topic: "assetbundle"
Browsing all 1593 articles
Browse latest View live
↧

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 Article


Why 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 Article


Handling 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 Article

Data 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 Article

Set 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 Article


Loading 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 Article

How 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 Article

Build 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 Article


Getting "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 Article


How 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 Article

best 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 Article

too 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 Article

AssetBundle.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 Article


Why 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 Article

Load 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 Article


Prefabs 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 Article

Unity 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 Article


Asset 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 Article

AssetBundles 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 Article

Callback 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
Browsing all 1593 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>