Search Unity

ERROR: An APK with this package name and version code already exists. (Oculus Platform Command Line

Discussion in 'VR' started by KoopHampsten, Jan 15, 2019.

  1. KoopHampsten

    KoopHampsten

    Joined:
    May 12, 2016
    Posts:
    5
    I keep getting this issue no matter what I do. I have updated everything OVR, Oculus, Android SDK, Java, Changed version and bundle version. I never had to worry about it because I would upload via the webpage but oculus wont allow files larger than 300Mb to be uploaded via there.

    Using Unity
    Any thoughts?
     

    Attached Files:

  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    OVR, Oculus, Android SDK, and Java are all irrelevant. The error is telling you exactly what's wrong: a package with the same bundle ID and same (or higher) version number is already uploaded. One or both of those are what you need to change.

    The version number that actually matters is the "Bundle Version Code" (not the "Version" string):

    upload_2019-1-16_7-48-29.png

    This must be at least 1 higher than any previous version you've uploaded with the same package name (i.e. bundle ID).
     
  3. faulty-teenYT

    faulty-teenYT

    Joined:
    Apr 10, 2023
    Posts:
    1
    what is that tool you used
     
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    That is the Project Settings window in Unity.