Rider and VS missing MonoBehaviour dependency

6433154--719717--upload_2020-10-19_11-30-37.png

Editor: Visual Studio
MonoBehaviour is marked in red as if not connected.
I do not know how to deal with this issue
Since Rider is not opening, Can be that Rider is interfering?

Environment: Unity 2020.2.0b7, Windows 10, Visual Studio 2019 Versión 16.7.6

SOLUTION
Reimport All

In the “Project” window tab right-click and select “Reimport All” (CAUTION READ DOCUMENTATION)
That solves my issue. My project was small and handles well this feature.

Do you have any compile time errors showing in the console? If you run into one of those, that can keep stuff from compiling all the way. If you don’t see errors in the console to start, trying to build can also toss some errors that give you a direction to go.

As far as Rider, make sure the rider package is installed in the package manager and that you’ve selected it in your preferences as your editor choice. Also, try opening it on it’s own. Does it open? Does it prompt you for anything?

I doubt there is interference.

No.
If. My program is correct, runs correct and there are correct console warnings.No compile errors

I was using Rider and since was not starting, switch to VS. I take off all Rider from the package manager. There is only “VS Editor” and “VS code editor” packages.

I give all firewall permissions to this latest Unity 2020.2.0b7
Unity 2017, Unity 2019 are working fine.
Looks like a project setup problem

SOLUTION
Reimport All

In the “Project” window tab right-click and select “Reimport All” (CAUTION READ DOCUMENTATION)
That solves my issue. My project was small and handles well this feature.