- Home /
Buttons dissapear after restart, mulitple errors
I have a game i have been working on. Everything have been great untill now, i had two cars i my game. And one of them made so many errors that i had to remove it. Now the same errors come after i restart my game with my restart button.
I use this to restart the same scene (i do only have one scene at the moment)
public void levelReset()
{
SceneManager.LoadScene("playground");
}
But when i click it i get errors like IsFinite(d) and my buttons stops working. See the pictures below:
You can see it goes missing after i click restart the game :(
What am i doing wrong?
Thanks
$$anonymous$$ove code from Awake to Start.
Consider using a different method.
http://answers.unity3d.com/questions/829335/46-adding-onclicklistener-to-instatiated-buttons-o.html
Your answer
Follow this Question
Related Questions
Tile generation problem 1 Answer
openJDK Google Play Services problem 2 Answers
UnityEngine.XR missing assembly 0 Answers
Could not initialize home screen window on OSX 10.10.4 0 Answers
Unassigned Reference Exception ? 0 Answers