Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Load Scene from Asset Bundle in Editor

Discussion in 'Editor & General Support' started by Spabbage, Aug 29, 2017.

  1. Spabbage

    Spabbage

    Joined:
    Feb 15, 2015
    Posts:
    37
    Hi,

    I'm creating an editor tool where I'd like to be able to load scenes from asset bundles in the editor.

    I can get to the stage where I've successfully loaded an asset bundle through WWW and have a path from GetAllScenePaths() but I'm then unsure of how to load this. I've tried EditorSceneManager.OpenScene().

    Any ideas?
     
    amcakebread likes this.
  2. Wothanar

    Wothanar

    Joined:
    Sep 2, 2016
    Posts:
    122
    try to load the scene via name like OpenScene("Yourassetbundlescenenamehere"); i dont know if it works maby it does
     
  3. linghunchongxin

    linghunchongxin

    Joined:
    Mar 20, 2014
    Posts:
    6
    no use when use EditorSceneManager.OpenScene() in other project
     
  4. senfield

    senfield

    Joined:
    Apr 1, 2019
    Posts:
    31
    I've been trying to do this too. Has anyone found a way?
     
    amcakebread likes this.