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
0 answers

Unity: slowdown caused by something?

I figured out how to create an asset bundle containing an animation clip, and then loading that animation clip in another project and then overriding existing animation clip with the new one via a script. Basically the goal is to allow users to edit…
0
votes
0 answers

How can I export animationclip data from unity's assetbundle file?

AssetBundle files of unity contain various types of data, such as mesh, texture and animation, etc. I want to export the mesh and animation data from an assetbundle file into common use format such as .fbx, then I can load the data into Android…
CaiHaozhong
  • 11
  • 1
  • 6
0
votes
1 answer

Unity - Asset bundle not creating properly

I am creating asset bundle of a 3D object in unity. It is not creating with transform values (scale, rotation, position). But while I debug its values are coming correctly but after bundling and loading into my app its reset to default value. I am…
Sureshkumar S
  • 193
  • 1
  • 2
  • 13
0
votes
0 answers

Unity 5.6.2 unable to load animation clip

So I have been trying to find a way to write code that would allow you to load an animation clip from a folder and apply it to a character using animationcontrolleroverride. I got it working when I loaded the animation clip from the resources…
0
votes
0 answers

Scene loaded from asset bundle is not animating

I have a very simple scene, a cube with a script that manages its rotation. I generate a asset bundle from the entire scene, and when I load this scene, the cube appears in the screen, but the rotation does not work. The cube is static, like as the…
herd
  • 155
  • 2
  • 19
0
votes
1 answer

Downloading an AssetBundle more than once fails

I am developing an app in Unity 2017.1.0f3 (for HoloLens if this matters). This app has 3 scenes Scene 1. The user provides credentials and authenticates with a service. Scene 2. The service provides and the app displays a list of resources the…
Corcus
  • 1,070
  • 7
  • 25
0
votes
0 answers

Using AssetBundleManager to retrieve AssetBundles from a server that requires authentication

I need to retrieve some AssetBundles that are stored on a remote server. This server requires authentication. I have been looking into the AssetBundleManager, which seems an easy way to do that. However, I can't find any way to provide the…
Corcus
  • 1,070
  • 7
  • 25
0
votes
1 answer

errors loading assetbundle in unity

I'll start with the errors themselves. The first is : Assertion failed on expression: 'm_UncompressedBlocksOffsets[blockInd] <= from + dstPos && m_UncompressedBlocksOffsets[blockInd] + uncompressedBlockSize >= from + dstPos'…
oxrock
  • 643
  • 5
  • 12
0
votes
0 answers

Error when downloading AssetBundle from external server during runtime

I'm trying to download a 3d model with AssetBundle during runtime from an external Server. I created an assetBundle then I uploaded the AssetBundle file to an external Server. Below is the code: // Use this for initialization void Start() { …
Amir Jaouani
  • 81
  • 1
  • 2
  • 6
0
votes
1 answer

Yii2 extension: How to declare $sourcePath in assets?

I'm developing an Yii2 extension that uses an AssetBundle for some js/css files: namespace myExtension/assets; class ResourcesAsset extends AssetBundle { public $sourcePath = '@app/assets/resources'; public $css = ['resources.css']; …
robsch
  • 9,358
  • 9
  • 63
  • 104
0
votes
0 answers

Unity editor crashing after AssetBundle download completes

I upgraded my project from Unity 4.5 to Unity 5.5. Other developer had already made AssetBundles and uploaded it on server. After upgrading the project when I am trying to download the asset bundles, my Unity editor is getting crashed. Here is my…
0
votes
2 answers

Asset Bundle not loading?

Hello I am making a game for a school project and I ran int this error. the code loads the scene I have added it to the build settings as you can see here. please help!
0
votes
1 answer

LoadFromCacheOrDownload How to load from cache if file exist

I am using the code below, it works if the bundle is installing the first time only, otherwise I am getting bundle already exist error. So my question is how can I check if the bundle exists and if so, read it from the cached file IEnumerator…
firativerson
  • 435
  • 1
  • 4
  • 14
0
votes
2 answers

Asset bundle is not loaded

I have created asset bundle with this script using UnityEditor; public class CreateAssetBundles { [MenuItem("Assets/Build AssetBundles")] static void BuildAllAssetBundles() { …
user2686299
  • 427
  • 8
  • 25
0
votes
1 answer

Asset Bundles from unity 4 in unity 5 ios build

I am upgrading my app from unity 4 to unity 5, and was using asset bundles. I have a PC build and an iOS build of my app. I noticed that on PC the bundles work fine, but on iOS, they cannot be opened. I am testing this with a free version of unity…
mihaa123
  • 1,012
  • 9
  • 19