Skip to content
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

Unity Android Upload Symbols Proguard #1439

Closed
ArnauKokoro opened this issue Sep 9, 2023 · 5 comments
Closed

Unity Android Upload Symbols Proguard #1439

ArnauKokoro opened this issue Sep 9, 2023 · 5 comments
Assignees
Labels

Comments

@ArnauKokoro
Copy link

Environment

How do you use Sentry?
Sentry SaaS (sentry.io)

Which version of the SDK?
1.5.2

How did you install the package?
Git-URL

Which version of Unity?
2020.3.15

Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
Android

Steps to Reproduce

  1. Proguard Automatically Upload Symbols

Expected Result

Symbols related to a version

Actual Result

Sentry Setting/Proguard Mapping list

All symbols says:

"No releases associated with this proguard mapping file"

Any logs or screenshots

Captura de pantalla 2023-09-09 a las 11 34 15
@bitsandfoxes
Copy link
Contributor

Thanks for raising this issue!
Is this something that broke with an update of the SDK? Can you confirm that it previously worked?

@ArnauKokoro
Copy link
Author

No, was not working either on other versions of the SDK.

@ArnauKokoro
Copy link
Author

ArnauKokoro commented Oct 10, 2023

This is what Sentry generates on my gradle:

sentry {
    // Disables or enables the handling of Proguard mapping for Sentry.
    // If enabled the plugin will generate a UUID and will take care of
    // uploading the mapping to Sentry. If disabled, all the logic
    // related to proguard mapping will be excluded.
    // Default is enabled.
    // includeProguardMapping = true

    // Whether the plugin should attempt to auto-upload the mapping file to Sentry or not.
    // If disabled the plugin will run a dry-run and just generate a UUID.
    // The mapping file has to be uploaded manually via sentry-cli in this case.
    // Default is enabled.
    // autoUploadProguardMapping = true

    // Experimental flag to turn on support for GuardSquare's tools integration (Dexguard and External Proguard).
    // If enabled, the plugin will try to consume and upload the mapping file produced by Dexguard and External Proguard.
    // Default is disabled.
    // experimentalGuardsquareSupport = false

    // Disables or enables the automatic configuration of Native Symbols
    // for Sentry. This executes sentry-cli automatically so
    // you don't need to do it manually.
    // Default is disabled.
    uploadNativeSymbols = true

    // Does or doesn't include the source code of native code for Sentry.
    // This executes sentry-cli with the --include-sources param. automatically so
    // you don't need to do it manually.
    // Default is disabled.
    includeNativeSources = true

    ignoredBuildTypes = ["debug"]
}

Should be includeProguardMapping or autoUploadProguardMapping enabled? I can see those two does not exists en the SentryExtension for Android Gradle.

Thanks!

@bitsandfoxes
Copy link
Contributor

These are options set for the Sentry Android Gradle Plugin which the Unity SDK does not rely on.

@bitsandfoxes
Copy link
Contributor

Fixed by #1626

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Archived in project
Development

No branches or pull requests

3 participants