sentry-unity
sentry-unity copied to clipboard
Sentry 'Upload Symbols Task' is added on each build producing duplicate task build error
Environment
How do you use Sentry? sentry.io
Which version of the SDK?
3.2.2
How did you install the package? (Git-URL, Assetstore)
Which version of Unity? 2022.3.62f1 LTS
Is this happening in Unity (editor) or on a player like Android, iOS, Windows? Editor (while building for Android)
Steps to Reproduce
- Install Sentry and Configure it in fresh Unity Project.
- Build project for Android (Should be a successful build)
- Again Build Project for Android
- Meet the Bug
Expected Result
Successful Build
Actual Result
FAILURE: Build failed with an exception.
-
Where: Build file 'E:\Projects\Unity\Bob The Builder Old\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\build.gradle' line: 127
-
What went wrong: A problem occurred configuring project ':launcher'.
Cannot add task 'sentryUploadSymbols' as a task with that name already exists.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- Get more help at https://help.gradle.org
BUILD FAILED in 8s
Any logs or screenshots
below task is added multiple times after first successful build
task sentryUploadSymbols { * * * } // Autogenerated Sentry symbol upload task [end]