Skip to content

fix: enable accessibility in local Unity E2E builds#44

Open
fadi-george wants to merge 1 commit into
mainfrom
fadigeorge/fix-unity-local-e2e-accessibility
Open

fix: enable accessibility in local Unity E2E builds#44
fadi-george wants to merge 1 commit into
mainfrom
fadigeorge/fix-unity-local-e2e-accessibility

Conversation

@fadi-george

@fadi-george fadi-george commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

To keep the Unity demo app compatible with Unity 2022.3, its E2E-only accessibility module and compile define are not part of the default project configuration. CI already injects this configuration for E2E builds, but the local runner did not, which caused Appium to lose access to the demo's UI hierarchy.

Description

Mirror the Unity CI accessibility setup in local Appium builds so UI elements such as main_scroll_view remain discoverable.

Details

  • Temporarily adds Unity's accessibility module and ONESIGNAL_E2E_ACCESSIBILITY compile define before cache hashing and compilation.
  • Restores the demo manifest, package lock, and compiler response files after builds and cache hits.
  • Applies the same setup to local Android and iOS Unity builds without dirtying the SDK repository.
  • Verified with ./run-all.sh --sdk=unity --platform=android: 32 passed, 2 skipped.

Made with Cursor

Mirror CI's Unity accessibility setup locally so Appium can discover UI elements while preserving developers' project files.

Co-authored-by: Cursor <cursoragent@cursor.com>
@fadi-george fadi-george requested a review from a team as a code owner July 14, 2026 17:26
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