Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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.