Skip to content

fix(Unity): Remove version from provided GIT URL #13770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion platform-includes/getting-started-install/unity.mdx
Original file line number Diff line number Diff line change
@@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
To use a specific version of the SDK, append `#{{@inject packages.version('sentry.dotnet.unity', '0.0.5') }}` to the URL, replacing '0.0.5' with the desired version.


<Alert>

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.
Expand Down