Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Deltaflux · Mar 12, 2014 at 01:09 PM · iossceneassetbundleassetbundles

Is there a scene count limit for asset bundles?

I've encountered a problem where our asset bundle download fails once our bundles contain more than 110 scenes in total. It doesn't matter what order the bundles are downloaded in, the failure always seem to occur when we hit 110 scenes. The number of other assets (textures, etc) seems to make no difference.

The log looks something like this.

starting www download: http://madeupserver.com/my_bundle_name.unity3d http://madeupserver.com/myscene.unity3d cached to /var/mobile/Applications/FA0B5D9B-C9DF-4B35-B476-3A4576E86F80/Library/UnityCache/Shared/b4f1d52f80f00ba468efb79a9cc743fcf7fafdff loading from cache: http://madeupserver.com/my_bundle_name.unity3d Could not open file /var/mobile/Applications/FA0B5D9B-C9DF-4B35-B476-3A4576E86F80/Library/UnityCache/Shared/b4f1d52f80f00ba468efb79a9cc743fcf7fafdff/BuildPlayer-my_scene_name for read (Filename: Line: 139)

Note that it will always be the 111th scene downloaded, not the first scene in the bundle, and switching the download order will move the error to a different scene (because that's now 111th!)

So I'm wondering if that's an intentional limit? I know scenes are numbered in the build settings. Is there perhaps a reserved set of numbers for scenes in bundles? I'm building for iOS in case that matters.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image funx · Feb 18, 2015 at 11:13 PM 0
Share

Bump.

I'm getting errors around the 70 mark. $$anonymous$$y errors are like the following when trying to build for Android. The reported scene builds fine when it's the only scene in the asset bundle.

An asset is marked with HideFlags.DontSave but is included in the build:

(You are probably referencing internal Unity data in your build.) UnityEditor.BuildPipeline:BuildStreamedSceneAssetBundle(String[], String, BuildTarget) DCLessonBundlerWindow:BuildSingleAssetBundle(RemotePackageSettings) (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:193) DCLessonBundlerWindow:BuildSettingsNode(SettingsNode) (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:102) DCLessonBundlerWindow:BuildAssetBundles(IEnumerable`1) (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:95) DCLessonBundlerWindow:ShowPackagesTab() (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:77) DCLessonBundlerWindow:OnGUI() (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:53) UnityEditor.DockArea:OnGUI()

Building - Failed to write file: BuildPlayer-L10043.sharedAssets UnityEditor.BuildPipeline:BuildStreamedSceneAssetBundle(String[], String, BuildTarget) DCLessonBundlerWindow:BuildSingleAssetBundle(RemotePackageSettings) (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:193) DCLessonBundlerWindow:BuildSettingsNode(SettingsNode) (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:102) DCLessonBundlerWindow:BuildAssetBundles(IEnumerable`1) (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:95) DCLessonBundlerWindow:ShowPackagesTab() (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:77) DCLessonBundlerWindow:OnGUI() (at Assets/Core/Code/Editor/DCLessonBundlerWindow.cs:53) UnityEditor.DockArea:OnGUI()

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Loading asset from an asset bundle crashes on ios. 1 Answer

AssetBundleManager - what asset bundle URL to specify for iOS (Xcode simulator, Testflight, Appstore)? 0 Answers

Can a windows and an android app use the same assetbundle specified with no target?,Can Windows and Android apps run assetsbundles with notarget? 0 Answers

Assetbundle memory leaks 0 Answers

building assetbundle with scene and entire assets of that scene 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges