Search Issue Tracker

Fixed in 1.11.0

Votes

0

Found in [Package]

1.10.0

Issue ID

1377922

Regression

No

[Oculus XR] Cannot build APK because of VR splash screen and modified Bundle Version Code

Package: Oculus XR Plugin

-

Reproduction steps:
1. Open the attached user's project
2. Add VR splash screen image for Android
3. Build the project
4. Change Bundle Version Code in the Player Settings
5. Build the project again

Expected result: APK is built successfully with a VR splash screen and a modified Bundle Version Code
Actual result: Cannot build APK because of VR splash screen and modified Bundle Version Code

Reproduces on: Oculus XR plugin 1.10.0 (2019.4.34f1, 2020.3.24f1, 2021.2.4f1, 2022.1.0b1)
Not reproducible on: Oculus XR plugin 1.11.0, 2.0.0-preview.1, 3.0.0-pre.1 (2019.4.34f1, 2020.3.24f1, 2021.2.4f1, 2022.1.0b1)

Notes:
-Error message:
BuildFailedException: Failed to Copy File / Directory from 'path': destination path already exists.
UnityEditor.XR.Oculus.OculusManifest.OnPostGenerateGradleAndroidProject (System.String path) (at Library/PackageCache/com.unity.xr.oculus@1.10.0/Editor/OculusBuildProcessor.cs:443)
UnityEditor.Android.AndroidBuildPipelineInterfaces.OnGeneratePlatformProjectPostprocess (System.String path, System.Boolean strict) (at <12f9706bdb064a6c8a1d1b6f565a0097>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

  1. Resolution Note (fix version 1.11.0):

    Fixed in Oculus XR plugin 1.11.0, 2.0.0-preview.1, 3.0.0-pre.1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.