Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Visual Studio Not working correctly

Discussion in 'Scripting' started by AGreenPig, Dec 8, 2019.

  1. AGreenPig

    AGreenPig

    Joined:
    Dec 2, 2019
    Posts:
    6
    H!
    I had visual studio installed before unity and did NOT install it through unity. If I want to edit any script, it does work, but the colors are wrong and I can't see any auto completion for unity components. In short, one of the main reasons I would like to use visual studio for is gone... MUST I install visual studio through unity modules or can I just change a setting in the IDE? The unity hub is having some problems for me right now and I can't install visual studio through it...

    Thanks for reading my message... Hope you can help me.
     
  2. APSchmidtOfOld

    APSchmidtOfOld

    Joined:
    Aug 8, 2016
    Posts:
    4,473
    You must install the Game Development with Unity tools so that Visual Studio works with Unity. Do not install the version of Unity that comes with it, unless that's the one you want to use, of course.

    Capture.JPG
     
  3. AGreenPig

    AGreenPig

    Joined:
    Dec 2, 2019
    Posts:
    6
    As far as I can see I have installed the Unity Module...it still doesnt seem to work... sorry my Settings are in German...
     

    Attached Files:

  4. APSchmidtOfOld

    APSchmidtOfOld

    Joined:
    Aug 8, 2016
    Posts:
    4,473
    I remember having that problem once and that deinstalling Visual Studio and reinstalling it fixed it. Or maybe just deinstall the Unity module and reinstall it?
     
  5. AGreenPig

    AGreenPig

    Joined:
    Dec 2, 2019
    Posts:
    6
    I reinstalled, still doesn't work...