Search Unity

AssetBundle with multiple scenes - Order of Scenes

Discussion in 'Asset Bundles' started by joon_off2, Nov 7, 2019.

  1. joon_off2

    joon_off2

    Joined:
    Oct 1, 2016
    Posts:
    2
    If I have multiple scenes in the same or in a single AssetBundle file, when I get the array of scene names through assetBundle.GetAllScenePaths(), in what way are the scenes sorted in? I tried multiple things, and was able to see that it is NOT alphabetical, Build Settings order, created time. I need to load the scenes in a specific order, and was hoping to do it without creating a separate file that designates a specific order.