Some Unity API becomes obsolete between versions of the Unity Editor. When you migrate a project to a more recent Editor version, obsolete API can block compilation, or warn you that an API is nearing the end of support.
To identify obsolete API:
Obsolete APIs appear in the Issue list. To learn how to upgrade a specific obsolete API, select the warning in the issues list and review the Recommendation section for next steps.