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

Load Scene in AssetBundle and Unload

I load a scene in my AssetBundle like this: IEnumerator AsyncLoad () { using (var www = new WWW("file://" + Application.dataPath + "/AssetBundles/scenes")) { yield return www; var bundle =...

View Article


No AssetBundle.mainAsset with BuildingAssetBundles in 5.x ?

Hi folks. In Unity 4.x we used [BuildPipeline.BuildAssetBundle][1] to build an AssetBundle. The first parameter was the *mainAsset*: > **mainAsset** Lets you specify a specific object that can be...

View Article


Assetbundle loaded asset cannot be cleaned in Android

Hi... The question is a bit strange to me. I have loaded the asset and Instantiate it: GameObject cloneRef = GameObject.Instantiate(loadedAsset) as GameObject; And Unload the bundle:...

View Article

How do I get the size of a downloaded/ing asset bundle?

Simple question: I am downloading an asset bundle using WWW.LoadFromCacheOrDownload. I want to know the size of this asset bundle as I'm downloading it. I see an undocumented WWW.size property that...

View Article

Sprite in Asset Bundles returned a Texture2D

Using the [Bundle Manager][1] I bundled sprites (images with **sprite** as their texture type). When I load the sprites at run time and I inspect (by loading all the objects in a Object array) the...

View Article


AssetBundle.CreateFromMemory() - really is synchronous?

I create AssetBundle from memory: void enter() { createRequest = AssetBundle.CreateFromMemory(bundleBytes); //createRequest is field inside a class } Then I poll for result in separate method: void...

View Article

Exporting assets from Unity 5 to Unity 4

Is there a way to keep materials and other things in-tact for assets exported from Unity 5 to 4?

View Article

Editing assetbundles

Hi I developing my webplayer application that can scale a model from the assetbundle. I'm wondering after my edition on my model, do I need to build a new assetbundle and replace the old one? or is...

View Article


Can you build assetBundles with lightmaps?

Since lightmaps are attached to scenes, what is the proper way to bundle them and assigning them back after downloading the asset bundle. Is it possibly with the Enlighten engine? Thanks

View Article


Unity 5 Asset Bundles limitations for mobile platforms.

I've got a question about the limitations of Unity 5 Asset Bundles for mobile platforms. As it was said in one of the official training videos (...

View Article

Building bundles before game start

I want to build asset bundles in editor before the game starts. I've tried to catch EditorApplication.playmodeStateChanged event and check EditorApplication.isPlaying flag. If the flag is true than...

View Article

How to allow premium users to build, upload, rate, and download user-created...

I have an Android 2d platformer with a level builder, I want premium users to be able to build levels and upload them to a server where they can browse, download, and rate levels built by others. So...

View Article

Asset Bundle dependencies already in build

Using the Unity 5 asset bundle system, I am bundling several scenes into their own asset bundles. They all share some of the same assets. These shared assets are also being used in some scenes that are...

View Article


BuildStreamedSceneAssetBundle causes UnityEditor error

I'm creating an editor script that does two things when you click on the "Export" button on the editor 1. build an asset bundle 2. upload asset bundle to Amazon It successfully finishes building the...

View Article

Unity5 upgrade invalid serialized file version

Hello. I recently upgraded a project from Unity4 to Unity5. This project has streamed assets (3d models that are too big to put inside the application itself). Everything went smooth and it upgraded to...

View Article


The AssetBundle can't be loaded because it was not built with the right...

Hello. I have a project with an AssetBundle (in unity5) for iOS. Now when I switch platform to iOS in Unity 5 (the project was previously updated from unity4) I get the following error: > The...

View Article

How to mark AssetBundle label from script in Unity5?

It an hard work to mark all assets to correct asset bundle by hand in editor. It very easy to make mistake. Is there a way I can mark asset bundle by script? I find I can build the asset bundle by...

View Article


Unity 5 Asset Bundles WITH new uGUI System

Hi all, Our team works on complex mobile game with a lot of UI. We decided to use Asset Bundles system to divide SD (for small resolution) and HD version (for high resolution). Our main goal is huge...

View Article

Loading scene with scripts from asset bundle

I have scenes with c# scripts attached to many of the GameObject. I am creating asset bundle from these scene and try loading it from another unity application. But the issue is that the scenes are not...

View Article

Program with BuildAssetBundles in Unity 5.0 asset bundle system

The default assetbundle export from unity5.0 is compressed. command like this: BuildPipeline.BuildAssetBundles("AssetBundles"); In my test project, there are two assetbundle file: common and mainhud....

View Article
Browsing all 1593 articles
Browse latest View live


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