- Home /
 
 
               Question by 
               Dema-studios · Mar 27, 2019 at 04:28 PM · 
                javascriptsceneerror message  
              
 
              Help me! Error BCE0089
 #pragma strict
 
 var newScene : String;
 
 function Update()
 {
     if (Input.GetKey(KeyCode.E))
     {
         Application.LoadLevel(newScene);
     }
 }
 
               when I start the game unity3d tells me "All compiler errors have to be fixed before entering playmode". I checked the console. I get this writing "CambiaScenaE.js (3,5): BCE0089: Type 'CambiaScenaE' already has a definition for 'newScene'." how can i solve? this code has always worked but suddenly it has stopped working, why?
               Comment
              
 
               
              Are you sure you haven't duplicated the file by accident?
Your answer