Search Issue Tracker
Fixed in 2020.3.X
Votes
2
Found in
2020.3
2020.3.31f1
Issue ID
1411616
Regression
No
[Android][OpenXR] Including OpenXR in an Android AAB split build causes the build to fail
Reproduction steps:
1. Open the attached user's project "OpenXR AAB Test.zip"
2. Make sure that Build App Bundle is enabled in Build Settings and Split Application Binary under Publishing tab in Player Settings
3. Build for Android
4. Press "Compute Sizes" whenever a dialog prompt appears for reducing the size
Expected result: build succeeds
Actual result: build fails with "UnityException: Checking APKs size failed, Error: Both modules 'base' and 'UnityDataAssetPack' contain asset entry 'assets/bin/Data/UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json'.
com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Both modules 'base' and 'UnityDataAssetPack' contain asset entry 'assets/bin/Data/UnitySubsystems/UnityOpenXR/UnitySubsystemsManifest.json'."
Reproduces on: 2020.3.31f1
Does not reproduce on: 2021.2.15f1, 2022.1.0b11, 2022.2.0a8
Could not test on 2019.4.36f1 due to OpenXR package not being available
Notes:
-Customer noted that when AAB support and Split binary is turned on, the UnitySubsystemsManifest.json file is present in both the UnityDataAssetPack and the base asset pack, causing google to reject the upload (and also for bundle tool to be unable to manipulate the resultant file)
-Customer also noted that they can't seem to use the IPostGenerateGradleAndroidProject callback as it doesn't look like the path "StagingArea/PlayAssetPacks/UnityDataAssetPack/src/main/assets/bin/Data/UnitySubsystems" doesn't appear to exist when that callback runs
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Packman: The same asset data is displayed differently in "Import" and "Remove" popups
- Reference to a deleted GameObject becomes "None" instead of "Missing" when the GameObject is restored with undo after entering and exiting Play Mode
- Size value in Particle System Curve's tab is highlighted with selection across all tab header
- Particle System Curve's Presets window has no visual indication of what preset is selected
- Blur shader doesn't work when the "Scene Color" Node is attached to the UI "Output" Node
Add comment