Search Unity

Resolved MonoBehavior not recognized in Visual Studio

Discussion in 'Editor & General Support' started by JediNizar, May 26, 2021.

  1. JediNizar

    JediNizar

    Joined:
    Nov 13, 2016
    Posts:
    111
    Hi, I updated yesterday unity from 2020.3.8f1 LTS to 2020.3.9f1 LTS.

    Today on editing a script in Visual Studio 2019, I have uncounted that nearly everything is marked as error
    beginning from MonoBehavior could not be recognized, nearly everything is not recognized.

    yesterday prior update everything was fine.

    The scripts are working however in the unity Editor, the errors are only in VS2019
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    kfhenning likes this.
  3. JediNizar

    JediNizar

    Joined:
    Nov 13, 2016
    Posts:
    111
    Re-importing the package helped.. thank you very much
     
    Kurt-Dekker likes this.