this line of code is causing unity to crash every time I Hit the play button, I am new to unity and am wondering can anyone tell me why this is happening. I am trying to spawn prefabs in to the world inside a random area.
void Awake()
{
Instantiate(this, new Vector3((Random.Range(-30, 30)), 21, (Random.Range(-30, 30))), Quaternion.identity);
}