Please wait until the compilation of the script has finished and try again."
I’m trying out some scripts I found here and this is what it keeps telling me.
Please wait until the compilation of the script has finished and try again."
I’m trying out some scripts I found here and this is what it keeps telling me.
Is this a c# script? If so make sure your class name and file name match otherwise it will just keep saying this. If its a java script file can you put the code in here?
Script you are trying to attach isn’t yet compiled. Unity has a small rotating icon in lower right corner of the main window while it is still compiling scripts. Wait untill it disapears, then attach your scripts.
Or your script has an error that prevents unity to compile it alltogether. So script is still uncompiled and cannot be attached to objects.
Is there any other errors in console (Ctrl+Shift+C)?
I’m trying to add the camera scripts from the 2D Platform Game tutorial.
Here’s my file:
http://www.distantsunstudios.com/UNITY/side_scrolling_camera.zip
Erm, put a space in your new script and save it… You cant just create a blank script and attach it to an object without touching it in an editor. I had that once… (once) lol
removing an error in another script worked for me.