So I’m new to unity, so I’m not sure what is going on or the correct terminology but bear with me (please).
I recently started a new game, everything was going fine, then all of a sudden I notice this new scene showing up when I press play play button tagged ‘dontdestroyonload’, and disappearing once playmode is exited. It was not there before, and I did not put it there (or at least I didn’t intend to), and as such I’d like to remove it, however I don’t know how to do that.
I first noticed it when I was making a new script, which was suppose to give me information on my terrain (not that that worked), anyway so I deleted that script thinking it was the cause yet it persisted. I then deleted all but my terrain and it still persisted. After deleting only the terrain (either the terrain model or the terrain object, or both) and all my scripts it stopped showing up. I now figure it has something to do with the terrain, but what I don’t know.
anyway heres the script that started it all: (and that I deleted)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class test : MonoBehaviour {
// Use this for initialization
void Start () {
Terrain terrain = GetComponent<Terrain> ();
Debug.Log (terrain.terrainData); //note I have no clue what terrainData includes, i was just curious to what was inside
}
}
Also here is an image to give you a better idea of what I am talking about: