Can't attach Visual Studio for Mac debugger to Unity 2020

Viewed 1004

The option "Attach to Unity" does not appear on Visual Studio for Mac:

enter image description here

Also, on Unity's Preferences -> External Tools, I don't see a "Editor Attaching" option:

enter image description here

Everything was working fine a couple of days ago, and I didn't update Unity, Visual Studio, or macOS.

Any ideas?

Environment:

  • macOS Catalina 10.15.7
  • Unity 2020.1.4f1 Personal
  • Visual Studio for Mac Community v8.7.8 (build 4)
1 Answers

For anyone going through the same problem, I just had to go to Unity -> Preferences -> External Tools -> and click on "Regenerate project files". This thread helped me.

Related