Search Unity

Unity won't open!! Do I need to install something for Unity??

Discussion in 'Scripting' started by Dragynjump, Nov 29, 2019.

?

Do I need to install C# online?

  1. Yes

    0 vote(s)
    0.0%
  2. No

    0 vote(s)
    0.0%
  3. The issue is something else

    0 vote(s)
    0.0%
  1. Dragynjump

    Dragynjump

    Joined:
    Nov 29, 2019
    Posts:
    3
    Whenever I try to open a C# file, it only opens the text reader, which doesn't allow me to edit the script.
    Is C# something I need to install separately from Unity? Does it not come with it?

    I feel like an idiot because it's probably something really simple like I need to install C# online or something, but any help would be greatly appreciated.
     
    Last edited: Nov 29, 2019
  2. Dragynjump

    Dragynjump

    Joined:
    Nov 29, 2019
    Posts:
    3
  3. Dragynjump

    Dragynjump

    Joined:
    Nov 29, 2019
    Posts:
    3
    As you can see, only the text reader has appeared, meaning I can't edit the page at all.
     
  4. Hikiko66

    Hikiko66

    Joined:
    May 5, 2013
    Posts:
    1,021
    No idea what "Text Reader" is. Looks like adware. I mean, it has adverts lol

    Are you opening these files from inside unity, or are you opening them from windows explorer?
    Try to open them from inside unity. If you installed the default setup, then it should open up in a program called Visual Studio (Community)

    If it doesn't open up in that, you might have excluded it when installing perhaps. There are other editors you could use, which is why someone might exclude it.

    See if you have it installed.
    If you don't have it installed, then install it. Visual Studio 2019 Community Edition is fine.

    In unity via the top menu, set the editor as the editor to be used:
    Edit -> Preferences -> External Tools
    External Script Editor = Visual Studio 2019 (Community)
     
unityunity