Skip to content

DataDog/unity-package

Repository files navigation

Datadog Unity

Overview

The Datadog Unity SDK supports Real User Monitoring (RUM), logging, and crash reporting for Android and iOS apps built on Unity.

Note

This repo is used to deploy the Datadog Unity package only. To submit issues or patches, use the Development Repo instead.

Install via OpenUPM

The Datadog Unity SDK is available on the OpenUPM registry. You can install it using the openupm command line tool.

openupm add com.datadoghq.unity

Manual Installation

  1. Install External Dependency Manager for Unity (EDM4U). This can be done using Open UPM.

  2. Add the Datadog SDK Unity package from its Git URL at https://github.com/DataDog/unity-package. The package url is https://github.com/DataDog/unity-package.git.

  3. Configure your project to use Gradle templates, and enable both Custom Main Template and Custom Gradle Properties Template.

  4. If you build and receive Duplicate class errors (common in Unity 2022.x), add the following block in the dependencies block in your mainTemplate.gradle:

    constraints {
         implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0") {
             because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
         }
    }

Additional Setup and Documentation

For further instructions on how to set up the Datadog SDK, refer to the RUM Unity Monitoring Setup documentation.

Contributing

Pull requests are welcome. First, open an issue to discuss what you would like to change.

For more information, read the Contributing guidelines.

License

For more information, see Apache License, v2.0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •