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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Resolved Can't use VS debugger in 2020.1.0a22

Discussion in '2020.1 Beta' started by Player7, Feb 6, 2020.

  1. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    Everytime I try to start debugging

    I get this in VS console Output

    Followed by this prompt window...and then nothing.. so can't debug during play.
    ---------------------------
    Microsoft Visual Studio
    ---------------------------
    Visual Studio cannot start debugging because the debug target 'C:\Projects\Unity\TM\Temp\bin\Debug\Assembly-CSharp.dll' is missing. Please build the project and retry, or set the OutputPath and AssemblyName properties appropriately to point at the correct location for the target assembly.
    ---------------------------
    OK
    ---------------------------
     
  2. Player7

    Player7

    Joined:
    Oct 21, 2015
    Posts:
    1,533
    hmm deleting all the csproj files etc.. seems to have fixed it.. VS was saying 'Start' before.. now it's back to saying 'Attach to Unity' ...was Unity console did not show script build errors, only when doing 'Attach to Unity' was it doing that above build compile and had a few errors from a certain plugin I was using.
     
    LeonhardP likes this.