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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment