- Home /
 
 
               Question by 
               Grimstborith · Oct 21, 2017 at 11:14 AM · 
                unity 5scene-loadingscene-switchingscene-changeslowly  
              
 
              Android back button really slow
Hello.
I have an application with multiple scenes.
When I am going forward, i mean loading scene number 1 from number 0, all is well.
But when i try to load a previous scene, it takes a lot of time. How can i make it faster?
 if (Input.GetKeyDown(KeyCode.Escape))
         {
             Application.LoadLevel("PreviousScene");
 
             // ON BACK PRESSED 
         }
 
               I am currently using Input.GetKeyDown in update method.
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by unity_G2yrNlWYdpJKuw · Oct 21, 2017 at 04:56 PM
Try using SceneManager.LoadScene instead of Application.LoadLevel, make sure you are also using unity.SceneManagment;
I added LoadSceneAsync and worked like a charm! Thanks!
Your answer