Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question [SBP] How to mark assets and scenes in one assetbundle?

Discussion in 'Asset Bundles' started by suntabu, Aug 10, 2022.

  1. suntabu

    suntabu

    Joined:
    Dec 21, 2013
    Posts:
    76
    Hello,
    As said above, I wanna put assets and scenes into one assetbundle,

    But unity only supports putting scenes in one assetbundle, then auto-collect assets which were dependent on scenes.

    Actually, if a scene has too many dependencies would affect startup time sorely, most time we would load assets by coding from the script, not by references in the scene.

    So marking assets and scenes in one assetbundle are more necessary than we can imagine.
     
  2. suntabu

    suntabu

    Joined:
    Dec 21, 2013
    Posts:
    76
    Really? nobody wants to put assets and scenes together?

    In many episode-based games, each episode has its own assets and a scene, putting them in only one assetbundle
    would be fairly common.