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:
- In the Project Auditor window, select the Code view.
- In the Areas filter, select the Upgrade checkbox.
- In the Show filter, select the Upgrade Recommendations checkbox.
- 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.