Symptoms
- You are seeing the following error in the console window:
error CS1525: Unexpected symbol `____', expecting `____'
Cause
This is caused when an invalid character is found in an expression. For example, the if statement below does not allow the symbol "a" to appear after "if" in the if statement.
Error this example presents:
error CS1525: Unexpected symbol `a', expecting `('
Resolution
Ensure that the correct symbols appear within the expression. In this example we have placed a "(" symbol after the if statement as this was missing and flagging the "a" as a invalid symbol.
More Information
https://msdn.microsoft.com/en-us/library/3hdyz4dw(v=vs.90).aspx
Comments
3 comments
Hello there,
Thank you for your comment. Sorry to see you are having some scripting errors here. Sadly, I cannot advise on technical issues here, however we do have support forums which may help you resolve this!
Please visit our Scripting forum here: https://forum.unity.com/forums/scripting.12/
If you search in the forums for the subject or error you are getting, or create a post of your own, I am confident that you will find the answer you are looking for.
Thanks!
Please sign in to leave a comment.