Skip to content

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

Merged
bitsandfoxes merged 2 commits into
mainfrom
fix/build-android-6.4
May 22, 2026
Merged

bitsandfoxes merged 2 commits into
mainfrom
fix/build-android-6.4

Conversation

@bitsandfoxes

@bitsandfoxes bitsandfoxes commented May 18, 2026 •

Copy link
Copy Markdown
Contributor

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.

@bitsandfoxes
bitsandfoxes requested a review from a team May 20, 2026 08:44
@bitsandfoxes
bitsandfoxes merged commit 87a73b9 into main May 22, 2026
71 checks passed
@bitsandfoxes
bitsandfoxes deleted the fix/build-android-6.4 branch May 22, 2026 14:16
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

2 participants