I recently downloaded unity on my mac mini and i’m using version 2020.2.1f1 and when i try scripting following a tutorial it doesn’t open up visual studio. it open us a different thing called text edit and i want to set visual studio to my default.
and when i code even if i follow the tutorial exactly it doesn’t work the way its supposed to and it doesnt even run. what should i do?
First of all “Somebody Please Help” is pretty bad title for thread.
If I remember correctly Text Editor it’s default macOS default app for opening text files.
Visual Studio available only on Windows.
You could try other code editor on macOS. For example Visual Studio for Mac (sounds similar but it’s different product), Rider (not free) or Visual Studio Code.
You could select code editor that Unity will use in Preferences on External Tools tab https://docs.unity3d.com/Manual/Preferences.html#External-Tools
to answer this we need to know what exactly doesn’t work at least.
Copy and paste the exact code you’re using using code tags, a link to the tutorial you’re following, and the entire error message you’re getting.
With what you’ve told us so far, it could be almost anything. There are a number of seemingly insignificant syntax mistakes that are very hard to see, but cause compilation to break. It’s possible that you genuinely have done everything precisely according to the tutorial, but if you’re following a very old tutorial it might be using an obsolete function that has been removed. It’s possible that your error might be caused by some other setting or something. Without seeing the above information, we just can’t know and can’t help.
error message → all compilation errors most be fixed before entering play mode.
and when i create a new project it says: the project you are opening contains compilation errors.
and when my script gets entered in i should see this
but instead it just compiler errors and shows nothing
how should i fix this?
If you click on that it will open the console and you can see what the actual errors are. ( @VolodymyrBS has pointed out some of them. Your first two lines are also capitalized incorrectly)