Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Identify obsolete API between Unity versions

Identify and fix API issues when you move a project to a more recent Unity version.
Read time 1 minuteLast updated 17 days ago

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:
  1. In the Project Auditor window, select the Code view.
  2. In the Areas filter, select the Upgrade checkbox.
  3. In the Show filter, select the Upgrade Recommendations checkbox.
  4. In the Target version dropdown, select the Unity version you want to upgrade this project to.
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.

Additional resources