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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question [Solved] Unity - VS integration just stoped working.

Discussion in '2020.1 Beta' started by georgeq, Mar 5, 2020.

  1. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    660
    I was debugging a project, the Unity-VS integration was working fine. At some point, it just stopped working. All I did was, exit play mode and set a new break point. From that moment the "Attach to Unity" button changed to "Start". Now the only way to make it work, is by closing and reopening Unity and then opening the C# project with the Assets' menu option, but it is very annoying because, if I exit play mode the "Attach to Unity" button stops working, and the only way to make it work again, is to repeat the whole process.

    Any ideas?
     
  2. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    660
    Solved:

    If you have the same problem. Delete all the VS files on the project folder, and force a full rebuild.
     
    radiantboy likes this.
  3. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,600
    do you mean delete the .csproj files? VS integration broke for me years ago, been coding the hard way since!..
     
  4. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Yeah if something goes wrong with VS you need the package on package manager and delete the vs project files, let it rebuild. I hope I didn't miss a step...
     
  5. radiantboy

    radiantboy

    Joined:
    Nov 21, 2012
    Posts:
    1,600
    what is "package on package manager" ? I wiped the files now the integration is even more broken lol.. id kill just for simple code completion it would be like a palace to me!..