[Solved] Unity warning CS0618: ‘Application.LoadLevel(string)’ is obsolete: ‘Use SceneManager.LoadScene’

As the warning says “Use SceneManager.LoadScene” you should use SceneManager.LoadScene instead of Application.LoadLevel. The only difference is that SceneManager.LoadScene uses indexes of the scenes ordered in Build Settings and Application.LoadLevel uses a string of the scene name. Conclusion: Change Application.LoadLevel to SceneManager.LoadScene and pass in the index of the scene you want to load. If … Read more

(Solved) “Notice: Undefined variable”, “Notice: Undefined index”, “Warning: Undefined array key”, and “Notice: Undefined offset” using PHP

Notice / Warning: Undefined variable From the vast wisdom of the PHP Manual: Relying on the default value of an uninitialized variable is problematic in the case of including one file into another which uses the same variable name. It is also a major security risk with register_globals turned on. E_NOTICE level error is issued … Read more