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.

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.