![]() If (!AssetDatabase.IsValidFolder(assetBundleDirectory))ĪssetDatabase.CreateFolder("Assets/AssetBundles/", platformFolder) īuildPipeline.BuildAssetBundles(assetBundleDirectory, BuildAssetBundleOptions.None, platform) Ĭurrently we use 'BuildAssetBundleOptions.None' We've also tried the ForceRebuild flag but this has no effect. Build our bundles out to the relevent platform specific folder. String assetBundleDirectory = "Assets/AssetBundles/" + platformFolder String platformFolder = platform.ToString() ![]() ![]() We convert the passed platform enum to a string. Static void BuildPlatformBundles(BuildTarget platform) BuildPlatformBundles(BuildTarget.iOS) īuildPlatformBundles(BuildTarget.Android) Here's a look at the process we're using for rebuilding assets, It's only a simple script. We're having issues with having these bundles correctly update, when changing things on the prefab such as scale or rotation they aren't reflected in the rebuilt asset bundle. These bundles are stored online and downloaded into the main mobile application when relevant. Each AR experience is a prefab marked with a unique asset bundle name. This application is made in Unity.Īlongside this Unity project we have a second project that stores asset bundles exclusively. I have a mobile project which displays various AR experiences to the user via a mobile application. 30 for 30 Mega Bundle Publisher of the Week Quick Start Bundle New release discounts. fix build path last year AssetsAdvancedEditor AudioClip plugin (wip) last year Libs fix compilation errors last year ModInstaller fix compilation errors last year Plugins AudioClip plugin (wip) last year ReleaseFiles support 2021.2 last year TexToolWrap texture viewer (wip) last year.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |