Skip to content

fix: resolve build issues on Unity 6.4 when targeting android#2686

Open
bitsandfoxes wants to merge 2 commits into
mainfrom
fix/build-android-6.4
Open

fix: resolve build issues on Unity 6.4 when targeting android#2686
bitsandfoxes wants to merge 2 commits into
mainfrom
fix/build-android-6.4

Conversation

@bitsandfoxes
Copy link
Copy Markdown
Contributor

@bitsandfoxes bitsandfoxes commented May 18, 2026

resolves #2672

Why it broke

Unity 6.4 ships with Gradle 9.1. This removed bare exec inside a DefaultTask.doLast { }.

How it's not broken anymore

The SDK injects a Gradle task into your Android build to upload debug symbols. That injected task was using exec { ... } to invoke sentry-cli. This part got rewrote to use Gradle's built-in Exec task type instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build targeting Android with Unity 6.4 fails

1 participant