Visual Studio integration is broken.

After updating to

Unity 2020.2.5f
VS integration package 2.0.7
Mac OS 11.2.2
VS 8.7.7

When I try to open files from within my project in Unity VS opens the project but the file itself does not open.

Any suggestions?

Try pinging @John_MSFT for some info/help - he manages Visual Studio stuff for MS.

1 Like

@Antony-Blackett

First, go into Unity Editor > Preferences > External Tools and make sure that Visual Studio for Mac is selected as the external editor. If it’s not, select it and try again.

If you can, I also suggest updating Visual Studio for Mac to the latest version - 8.9.

2 Likes

Hmm, I have VS on auto update, it downloads updates and asks to restart and install but doesn’t actually install them. Maybe my VS install is borked. I’ll reinstall it and see if that helps.

–edit:
I have VS selected in unity external tools, as i said, it opens the project in VS ok, just not the file and it doesn’t jump to the line in question when clicking on a compile error in unity either.

Edit 2:
Installing the latest VS from the Microsoft website fixed it.

Thanks.

2 Likes

It seems VS integration has broken itself again… Not sure why.

@Antony-Blackett

Sorry to hear that! Please use the Help > Submit Feedback > Report a Problem menu in Visual Studio to document and explain the issue and what has broken. Our team can help from there.