- Home /
GC error whit canvas and LoadLevel
Here is scene what i was doing.. I just add Canvas and scroll view, nothing else :D

I have only one small script inside Main Camera
Script look like this:
using UnityEngine;
using System.Collections;
public class ChangeLevel : MonoBehaviour {
// Use this for initialization
void Start () {
Go("Test");
}
// Update is called once per frame
void Update () {
}
public void Go(string LevelName){
Application.LoadLevel (LevelName);
}
}
When i run scene my Unity shutdown, and i get CG error node on my desktop.. Is there some bug in Unity 5.2.1 or am i doing something "no no!" :D
If i close Canvas befor running script, everything go like it must, so there is no problem. I just want know, am i doing something wrong.
error.png
(347.2 kB)
Comment
Your answer
Follow this Question
Related Questions
Stuck on splash screen android 0 Answers
Build Iphone Issue 0 Answers
Unity Editor silently crashes straight away no error logs 1 Answer
Unity 2018.3.8f1 Has Stopped Working Error upon Start-up 0 Answers
Editor crashes after loading a project 3 Answers