I upgraded my project to Unity 3 and a weird error occurred on one of my scripts, and it worked fine in the earlier versions, so I’m pretty sure it’s a bug in Unity 3. Anyone knows what’s going on? Here’s the error: Assets/SidescrollControl2.js(73,1): BCE0044: unexpected char: 0xFFFD.
Thanks!
-Blayke
I’m getting the same thing. I looked for the ‘offending character’ highlighted it, then ‘Cut’ (Command X on Mac), then saved until I was sure I found the right character (Unity might find another one somewhere else in the script).
I used ‘find and replace’, pasting in the character (which looks like a space), and set the ‘replace’ to null (no characters).
I opened all my scripts, and used the ‘Find and Replace All’ to get rid of it. Once that was done on each script, I didn’t get that error any more.