Load scene from assetbundle

i am experimenting with asset bundles and so far i love the way it works. but i cant figure our how to load a bundled scene locally. most of the tutorials on this subject are vague and some are only about loading from servers which i don’t need.

Here’s a code snippet from a larger module I have that loads scene bundles from files. This one loads the first scene in the bundle into the scene manager.

AssetBundle bundle = AssetBundle.LoadFromFile(path);

string scenes = bundle.GetAllScenePaths();

string scene = Path.GetFileNameWithoutExtension(scenes[0]);

SceneManager.LoadScene(scene);