Search Unity

Asset bundle Doc still explains obsolete "MainAsset"

Discussion in 'Documentation' started by antx, Sep 11, 2015.

  1. antx

    antx

    Joined:
    Feb 16, 2012
    Posts:
    28
    I'm having a hard time to figure out how to load a scene from an asset bundle in unity 5.
    I keep on finding a page that is marked as obsolete (http://docs.unity3d.com/ScriptReference/BuildPipeline.BuildStreamedSceneAssetBundle.html). The new asset bundle docu does not explain at all how to load a scene. Is this no longer possible?

    The example code in the doc also still uses assetBundle.MainAsset which is obsolete and throws an error.