- Home /
Really need help for my code!
The message says - UnityEngine.Application' does not contain a definition for
Loadlevel' why?
What I have checked-
EVERYTHING! (On the code at least)
What I think it may be-
No clue.
Answer by doublemax · Oct 16, 2016 at 07:57 AM
Did you even bother to check the documentation where it says that Application.LoadLevel is obsolete?
Use SceneManager.LoadScene instead:
https://docs.unity3d.com/550/Documentation/ScriptReference/SceneManagement.SceneManager.LoadScene.html
Answer by Aqua390 · Oct 16, 2016 at 08:42 AM
yes I have. I've tried it both ways and I have found there to be no difference (by the way I'm using unity 4.7)
"LoadLevel" with capital "L" in the middle.
Sorry, should have seen this before.
Your answer
![](https://koobas.hobune.stream/wayback/20220612094726im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
C# script parse error 1 Answer
Sync with visual studio 2010 error 1 Answer
Distribute terrain in zones 3 Answers
Error cs0200, please help i´m novice 1 Answer
Maintain local transform.rotation.y when updating transform.up? 2 Answers