Can't use VS debugger in 2020.1.0a22

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

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.

1 Like