Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Visual Studio not seeing Monobehaviour

Discussion in 'Code Editors & IDEs' started by mistergreen2016, Aug 24, 2019.

  1. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    Hey, I opened a project from Github and VS can't see
    Visual Studio not seeing Monobehavior.



    As you can see, Everything is red.
    I tried deleting the Unity library & setting folder and let Unity rebuild them. It didn't work. What else is there to do?
     
  2. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    Never mind, Updating Visual Studio Community seem to fix the problem.
     
  3. rsodre

    rsodre

    Joined:
    May 9, 2012
    Posts:
    229
    This problem suddenly started with me today!
    It does not find any System or Unity assemblies.
    I noticed Unity is not generating Assembly-CSharp.csproj and Assembly-CSharp-Editor.csproj, is that the problem?

    Upgraded VS 7.7 to 7.7.4.1 and still not working.
    Upgraded to VS 8, but it's terrible! I've already downgraded from it several times. Intellisense gets lost, it does not load new scripts created in Unity, there's an eternal "Loading..." message at the top, I can't save files...
    I don't want VS 8, I want VS 7.8, but there's no way to upgrade from 7.7 to 7.8! grrrr!!!!
    I finally found the VS 2017 downloads, I hope it can install 7.8 and fix all this...
    Microsoft vibes!

    Edit: This download installs VS 7.8.4, but the assemblies problem persists
     
    Last edited: Aug 27, 2019