Embrace's Unity SDK lets you bring the deep, introspective and native debugging power of Embrace into your Unity game or application.
The Unity documentation can be found here.
- Go to our dashboard to create an account and get your API key
- Check our guide to integrate the SDK into your Unity project
It is important to note that the Unity SDK is not usable immediately after cloning the repository. This is because it depends directly on the Apple SDK, and statically links to the xcframeworks as part of the build process.
To build the SDK, run the following command from the root of the project:
makeThis will automatically pull down the dependencies and build the Unity
xcframeworks, and copy everything into the io.embrace.sdk folder. Unfortunately,
it is not currently possible to invoke the required iOS specific commands on
Windows. This pipeline requires xcpretty (gem install xcpretty) and the XCode
Build Tools to be installed.
If you run into any issues building the SDK locally, please reach out on our community Slack!
The iOS symbol upload tools (run.sh and embrace_symbol_upload.darwin) are
required for the npm package but are excluded from git via .gitignore. Before
publishing to npm, these dependencies will be automatically downloaded via the
prepublishOnly script, which runs make install_ios_dependencies.
To publish to npm:
cd io.embrace.sdk
npm publishThe prepublishOnly script will automatically download the required iOS tools
from https://downloads.embrace.io/embrace_support.zip before packaging.
Note: For local development and building, you must manually run make from
the repository root to download iOS dependencies and build the SDK. The
prepublishOnly script only runs automatically during npm publish.
- Refer to our Features page to learn about the features Embrace SDK provides
We appreciate any feedback you have on the SDK and the APIs that it provides.
To contribute to this project please see our Contribution Guidelines. After completing the Individual Contributor License Agreement (CLA), you'll be able to submit a feature request, create a bug report, or submit a pull request.
For urgent matters (such as outages) or issues concerning the Embrace service or UI, reach out in our Community Slack for direct, faster assistance.
Embrace Unity SDK is published under the Apache-2.0 license.
See the LICENSE for full details.