Search Issue Tracker

Active

Under Consideration for 1.8.X

Votes

2

Found in [Package]

1.8.2

Issue ID

OXRB-222

Regression

No

[OpenXR] Build fails due to AndroidManifest merge conflict with OpenXR

Package: OpenXR Plugin

-

Steps to reproduce:
1. Open the attached user's project "UOPENXR.zip"
2. Make sure OpenXR is selected in the XR Plugin management
3. Build for Android
4. Observe the build error

Expected results: Build does not fail due to AndroidManifest merge conflict with OpenXR
Actual results: Build fails due to AndroidManifest merge conflict with OpenXR

Reproducible in: OpenXR 1.8.2 (2021.3.29f1, 2022.3.6f1, 2023.1.7f1, 2023.2.0b3)

Environment tested on: Windows 10

Notes:
-Issue only reproduces when OpenXR is selected as the Plugin
-Issue only reproduces when Oculus SDK is integrated into the project
-Issue does not reproduce on a new project when integrating Oculus SDK and Enabling OpenXR
-Error message:
Execution failed for task ':launcher:processReleaseManifest'.
> Manifest merger failed : Attribute meta-data#com.oculus.supportedDevices@value value=(quest|quest2) from [:unityLibrary] AndroidManifest.xml:94:13-41
is also present at [:unityLibrary:xrmanifest.androidlib] AndroidManifest.xml:21:13-49 value=(quest|quest2|cambria).
Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:92:9-94:44 to override

Add comment

Log in to post comment