Switch to unity3

Hi at all,
I Switch to Unity 3 and when I have tried to recompile my project (after Unity automatic upgrade of that) I see this error:

Well, I deleted GUITouchController2.cs inside a “Standar Assets” directory, and after I saw:

I am very frustrated for this new 9 errors which I don’t know how to solve!!
Someone can help me?

Thanks a lot.
pedr0

Well,
I solved the problems which I explained before, but now I see a lot of error like this:

Where PlayerClass.js is a class write by me.

Guru Help me!

Find 0xFFFD and eliminate or add proper syntax punctuation looks to be the solution.

HTH
BTH

Here’s something to try: Go to that line (line 580) and copy it someplace else like Textedit or Notepad. Delete the ENTIRE LINE, including the carriage return at the end, and then retype the line. DON’T copy and paste it back.

The reason that this may work is that you may have a non-printable character in that line somewhere (how it got there is anyone’s guess) and the compiler doesn’t like it. Retyping the line may get rid of it, but if you copy and paste it back, you would just be putting that invisible character right back where it was before. Also, if you’re not natively an English speaker, then you may have put in a comment in another language, and special characters such as {øπöé} etc. may confuse the compiler, even though it’s in a comment. (You would think the preprocessor would strip that out, but it sort of depends on the compiler.)

hi pedr0
can you tell me how did you slove the first problem

error CS0117: System.Text.RegularExpressions.RegexOptions' does not contain a definition for Compiled’
error CS1502: The best overloaded method match for System.Text.RegularExpressions.Regex.Regex(string, System.Text.RegularExpressions.RegexOptions)' has some invalid arguments error CS1503: Argument #2’ cannot convert object' expression to type System.Text.RegularExpressions.RegexOptions’

I would also like to know how to solve the problem with RegexOptions.Compiled being missing…

Tx! -CR

The solution is to go to Edit > Project Settings > Player > Optimization and change “Net 2.0 Subset” to “Net”. I think this has to do with the compilation optimization not being supported on MonoTouch (iPhone).

-CR