Just Updated to Unity 2020.1 and Visual Studio is incompatible?

I get the message below with a assembly CSHarp (incompatible) in the solution explorer.

If i try to use it anyway, not of the auto stuff “auto fill” (auto fill something like Start function) works.

2 Likes

I switch back to an old version of Unity and functions like “OnTriggerEnter2D” does turn blue and it doesnt even try to guess what I am about to type anymore…

Same here, using Unity 2020.1.2f1 & VS 2019 (16.7.2)

Edit: I also double checked I have the Visual Studio Tools for Unity installed via the VS installer application.

Not entirely sure what it was, but closing the project and deleting the Library & .vs folders + the .csproj and .sln files fixed the problem for me.

5 Likes

reviving an old thread - i had same issue. modifying heatblayze approach, i closed the project and VS program, deleted .vs folder only and then reloaded and it worked. I think the problem is when a script is created before VS is installed, it probably creates inconsistencies with the program.

3 Likes

Also, make sure you actually have Unity tools installed for Visual Studio and the above solutions will work.

Tools => Get Tools and Features => Game development with Unity

3 Likes

For issues with Visual Studio, “Regenerate project files” button has always worked for me (so far):
7157488--856879--regen_project_files.jpg

4 Likes

Also, try this: in Visual studio right-click on the solution in Solution Explorer and select “resolve errors”.

11 Likes

Absolutely worked for me thanks man

Thank you so much!!!

Thank you :slight_smile:

You’re a LIFESAVER mate

Thank you man!

This is the first time an “error resolver” works for me, thanks!

Thank. You. Hero.

I have this same issue but hitting Resolve Errors just brings this window back up. Any ideas?

1 Like

Thanks! that worked

Thanks you !

I LOVE YOU OMG

1 Like

worked for me thanks man