- Home /
After Downloading Bootcamp demo Unity does not work anymore.
Hi,
I recently downloaded Unity and started doing some games. I Downloaded the Bootcamp Demo, Expecting to see how far can the unity Engine go. I imported it and wanted to play, but Unity does not start the game; it shows me an error screen saying that the "Errors in the compiler must be fixed before playing" (I saw that screen before, trying one of my games with an health bar script, that didn't worked. So i expected that a script was wrong, but i did not want to fix it because i don't know how to write a script. So i started a new scene today, and after pressing Play, it shows me the same error. Every game that I created now does not work anymore. P.S. I'm 13 and Italian, Sorry for my english...
Thanks.
Answer by Bunny83 · Aug 11, 2012 at 01:15 PM
All scripts in a project have to be correct in order to run the game. When you have a faulty script your have two options:
Fix it.
Remove it from the project if you don't use it.
Well, I have checked the error list (the one that is below the hierarchy, that displays the error simbols when something isn't right) And found the error, which was a duplicate of another script, with no changes. But now it displays another kind of error: "Assets/Editor/TransformCopier.cs(5,14): error CS0101: The namespace 'global::' already contains a definition for transform copier'. I think This time it's an error that needs to be fixed. Sadly, I don't know how to write or read a script, so I'll try to learn some script. By the way thanks, at least I fixed the first error!
"The namespace 'global::' already contains a definition for transform copier"
That says all ;) It's the same problem, you have this tool-editor-script several times in your project. type "TransformCopier" in the searchfield above your project view. That should show you a list of all assets that are named TransformCopier. $$anonymous$$aybe you have the same script as UnityScript(JS) and C# version?
Thanks! I searched for it and found only one copy, so i deleted it. $$anonymous$$aybe it was a corrupted file, but now my games work! You were right... You know what? I'll put a statue of a bunny (Your name is Bunny83, so it represents you) in the game in an unknown place, and it'll work as a Easter Egg. Thanks for everything!