Skip to content

Conversation

@MiroBrodlovaUnityGit
Copy link

Purpose of this PR

This PR replaces all instances of Mono API calls with CoreCLR-compatible API calls in this repo, and is part of Epic SCP-1555.

Note:
More PRs dealing with SCP-1555 may come in the future. In some cases we cannot replace all Mono API calls with CoreCLR API calls yet, as some CoreCLR APIs are still being worked on/are not yet public (see for example SCP-1542, and SCP-1544). In these cases we suppress warnings for those particular APIs for now. Later on, once the equivalent CoreCLR APIs are made public, we will do a second pass across all packages and replace the suppressed warning/old API with the new public CoreCLR API instead.

Further Context

  • Unity is doing work to move away from Mono to using CoreCLR.
  • With this we need to replace all Mono API calls with CoreCLR-compatible ones. (here's the list of APIs being replaced, and here's the list of packages that will get updated).
  • Epic SCP-1555 tracks the work of replacing all Mono API calls across all Unity supported packages with CoreCLR-compatible ones. This PR is part of that epic.
  • For more information, or if you have any questions, please visit #code-reload-safe-api-packages-migration and we'll be happy to help. 🙂

Jira ticket

SCP-1557

Documentation

  • No documentation changes or additions were necessary.

Testing & QA (How your changes can be verified during release Playtest)

Functional Testing

Manual testing :

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Backports

Unsure if this PR should be backported. Please do advise and I will create PRs for backports too!

Comments to Reviewers

If there are any jobs/tests we should run to make sure there are no ripple effects do share and we will kick them off! :) And, if you know of any locations we may have missed updating or any details that we should know about, please do share!

@MiroBrodlovaUnityGit MiroBrodlovaUnityGit requested a review from a team as a code owner November 5, 2025 14:29
@unity-cla-assistant
Copy link

unity-cla-assistant commented Nov 5, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants