# Core

> How the HMS Unity Plugin starts, checks for HMS Core on the device, reports results and errors, and talks to the Huawei SDK through its Java bridge.

Source: https://docs.mgonnacrusht.co.uk/hmsunity/core/

Core is the part of the base package that every kit relies on.

<Aside type="caution" title="Being written">
  This page is being written alongside the plugin. The list below shows what it will cover.
</Aside>

## What this page covers

- **Starting the plugin:** when to initialise it, and what happens if you call a kit first.
- **Is HMS Core available?** How to check on the device, and what your game should do on a
  device without HMS Core (for example, a Google Play device).
- **Results and errors:** every call reports success or an error in the same format, with the
  plugin's own error code and Huawei's status code. Expected errors do not throw exceptions.
- **Callbacks and async/await:** each operation can be used with a callback or awaited.
- **Threading:** results are delivered on Unity's main thread.
- **The Java bridge:** what runs on the Android side and how it is kept small.

## Related

- [Account Kit](/hmsunity/account/)
- [In-App Purchases](/hmsunity/iap/)
- [API reference](/hmsunity/reference/)
