Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Unable to install APK to Quest using 2021.2

Discussion in 'VR' started by DevDunk, Oct 28, 2021.

  1. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,393
    I build using IL2CPP to Android for my VR game.
    If I build with 2021.2 I get the error
    "INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl825137747.tmp/base.apk using APK Signature Scheme v2: integer overflow"
    Inside of SideQuest when installing the APK. My 2020.3LTS build does install

    Is this also happening for others and if not, how can I fix this? (Android is already set to v23)
     
  2. wronginput

    wronginput

    Joined:
    Apr 20, 2014
    Posts:
    8
    Can you build and push it to the headset directly from Unity using 'Build and Run' button?

    Any reason in particular that you're not doing it that way, but pushing it to the Quest via SideQuest instead?
     
  3. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,393
    For me I got an error when doing this. I just now though that it could have been because sidequest was running in the background. I gotta try this later again.
    Still doesn't explain the error tho
     
  4. glenneroo

    glenneroo

    Joined:
    Oct 27, 2016
    Posts:
    228
    Have you tried CTRL + K (Windows)? It's Oculus' Build and Run feature which is much faster than using Unity's Build, although I highly doubt it will help.

    Also try searching the forums, there are quite a few people who have had this error, even this person said "there were lots of solutions online on this topic" - and they found yet another solution (do a factory reset on your headset):
    https://forum.unity.com/threads/error-install_parse_failed_no_certificates.279257/

    Otherwise it might be a Unity bug if it's working on 2020 and not 2021, you may need to file a bug report.
     
  5. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,393
    Both build and run and oculus build apk and run don't work but sidequest does flawlessly for some reason. I will try this later on with a smaller personal project to see if it is unity related
     
  6. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    Anybody knows how to solve this?

    Im having the same problem in Unity 2021.3.10f. It was working fine yesterday, now suddenly it has the error with the INSTALL_PARSE_FAILED_NO_CERTIFICATES.
     
  7. nsmith1024

    nsmith1024

    Joined:
    Mar 18, 2014
    Posts:
    869
    I figured it out. If the apk gets too big that error shows up
     
    DevDunk likes this.
  8. connor_g93

    connor_g93

    Joined:
    Nov 18, 2014
    Posts:
    2
    I came to the same conclusion. It seems the magic number is anything over 2gb.

    I'm working on a video player app for a client with a few videos installed with the apk so its a large app. I noticed as soon as I added the last video it stopped building to my device and when I remove any random video the build works.

    tried splitting the apk using an obb and that didn't work either (but im not an expert with those)

    Using 2021.3.
     
    glenneroo likes this.