Application.LoadLevelAdditive question

scene contains a GameObject named “Scene”,
but why do I get “Scene == null”? below:
How to modify this code to let scene != null?

    public class MyEditor : Editor
      [MenuItem("Custom Editor/test")]
      static void test(){
        GameObject scene  = GameObject.Find("Scene");
	    if(scene == null)
	      Debug.Log ("Scene == null");


why is your scene a gameObject? are you trying to access a game object or are you trying to load a new scene, like a different level? you need to add the scene to the build settings too, click on file → build settings and add the new scene which you want to load additively.