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

Unity doesn't launch Visual Studio when trying to edit a script

Discussion in 'Editor & General Support' started by pawelekezg, Oct 7, 2020.

  1. pawelekezg

    pawelekezg

    Joined:
    Nov 7, 2019
    Posts:
    12
    Hello guys.
    I am having a problem which i didnt manage to solve. When i try to edit script by double pressing the script, nothing really launches. In my "Preferences" tab i have set everything correct (attachment1). I've tried reinstalling both unity and visual studio but it didn't work out. I have all packages updated (attachment 2). If i set unity to open scripts by file extension it does open, but IntelliSense doesn't work for unity's packages. How to fix it? It's driving me crazy :(
     

    Attached Files:

  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,768
  3. pawelekezg

    pawelekezg

    Joined:
    Nov 7, 2019
    Posts:
    12
    You seem not to have read my post at all. I've done every single step you said about and i've written it.
    Anyway i managed to fix the problem by uninstalling (removing) both packages: visual studio code editor and visual studio editor
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,768
    You are correct. I don't use Windows because I don't have time to fix OS bugs. But I keep a list of handy links because other Unity users are stuck in that environment and hardly a day goes by here without somebody howling about how Visual Studio has let them down in some significant way.

    Yes, this is usually the fastest approach when using products from that company.