Skip to content

Skip the throw frame source line test on Android 2021.3 - #2934

Open
bitsandfoxes wants to merge 1 commit into
mainfrom
test/skip-android-2021-throw-frame
Open

bitsandfoxes wants to merge 1 commit into
mainfrom
test/skip-android-2021-throw-frame

Conversation

@bitsandfoxes

@bitsandfoxes bitsandfoxes commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Skips "Exception Capture > Resolves the throw frame to its source line" on Android 2021.3, which currently fails on main and on every PR.

On the Android 2021.3 x86_64 emulator, IL2CPP's stack walker intermittently returns no frames for the thrown exception. IL2CPP then keeps only the throwing method and stores no native trace, so the SDK has no instruction addresses to attach. The event reaches Sentry with a single ThrowException frame at 0x0, and nothing can resolve it to a source line. The SDK logs NativeStackTrace Image: '' (UUID: ) when this happens.

This happens on the device, before symbol upload or symbolication run. The same APK passes on some launches and fails on others. It started on 2026-11-03 without a change in the repo: the APK built from main on 2026-10-30 and the one built today are byte-identical apart from the commit SHA and the ELF build ID. The investigation into what changed continues separately. Every other Unity version, and every other assertion on Android 2021.3, still runs.

Changes:

  • test-run-android.yml passes the Unity version to the test run as SENTRY_TEST_UNITY_VERSION, which Integration.Tests.ps1 already reads into TestSetup.UnityVersion.
  • The test skips itself on Android when that version is 2021.3.

#skip-changelog

🤖 Generated with Claude Code

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.

1 participant