From dfb61cc1efc056463bead99b85cccbbdaa732fbf Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Tue, 20 May 2025 17:48:20 +0200 Subject: [PATCH 1/2] remove version from provided url --- platform-includes/getting-started-install/unity.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform-includes/getting-started-install/unity.mdx b/platform-includes/getting-started-install/unity.mdx index 13cea3dd63585b..a695ce05a14fb0 100644 --- a/platform-includes/getting-started-install/unity.mdx +++ b/platform-includes/getting-started-install/unity.mdx @@ -1,9 +1,11 @@ Install the package via the [Unity Package Manager using a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html) to Sentry's SDK repository: ``` -https://github.com/getsentry/unity.git#{{@inject packages.version('sentry.dotnet.unity', '0.0.5') }} +https://github.com/getsentry/unity.git ``` +If you want to use a specific version of the SDK, you can append `#{{@inject packages.version('sentry.dotnet.unity', '0.0.5') }}` with the version you want to use to the URL. + Confirm the URL doesn't have a trailing whitespace at the end. The Unity Package Manager will fail to find the package if a trailing whitespace is appended. From 9d5e509d002f60ffd8019254cb14e35faf03a5d4 Mon Sep 17 00:00:00 2001 From: bitsandfoxes Date: Thu, 3 Jul 2025 15:19:22 +0200 Subject: [PATCH 2/2] updated the install instructions --- docs/platforms/unity/index.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/platforms/unity/index.mdx b/docs/platforms/unity/index.mdx index 8ad806c2783506..3ae35f32f7bbf1 100644 --- a/docs/platforms/unity/index.mdx +++ b/docs/platforms/unity/index.mdx @@ -42,9 +42,11 @@ Don't already have an account and Sentry project established? Head over to [sent Install the package via the [Unity Package Manager using a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html) to Sentry's SDK repository: ``` -https://github.com/getsentry/unity.git#{{@inject packages.version('sentry.dotnet.unity', '0.0.5') }} +https://github.com/getsentry/unity.git ``` +To use a specific version of the SDK, append `#{{@inject packages.version('sentry.dotnet.unity', '0.0.5') }}` to the URL. + ## Configure Installing the SDK will add an entry to Unity's top menu: `Tools` > `Sentry`. When you first open the menu, a wizard will guide you through the process of associating your game with a Sentry project and set up the initial configuration for you. The minimum configuration required is the [DSN](/product/sentry-basics/dsn-explainer/) to your project.