Forum Discussion

VTM_Digital's avatar
VTM_Digital
Explorer
5 months ago

Issue with APK-to-APK Launch on Meta Quest — Unexpected Return to Lobby

Here’s the situation:

  • APK(1) launches APK(2) using an intent — this usually works, but occasionally it returns to the Meta Quest lobby (immersive home)instead of opening APK(2).
  • APK(2) then launches APK(3) — this frequently results in returning to the lobby (immersive home), and APK(3) does not open.
  • All APKs are installed via "Unknown Sources" and are intended to run in VR mode.
  • Tested on Meta Quest 2/3/3s, system version 81.

Has anyone experienced similar behavior or found a reliable way to ensure smooth APK-to-APK transitions without falling back to the lobby (immersive home)?

6 Replies

    • VTM_Digital's avatar
      VTM_Digital
      Explorer

      Submited and the report stauts is invertigating. I have never seen this bug on V79.

      • h.taylor's avatar
        h.taylor
        Community Manager

        Hey VTM_Digital, 

        Do you happen to have more information on the APKs you're trying to open in sequence and any errors you might be seeing in your logs when the intent fails? If this started up after an update, it's possible that there's a version incompatibility between the new OS version and the APKs, which could cause intents to fail. 

        Also, is your current report a support ticket or Feedback Center request? I can check on the investigation if it's been a while since you filed it. 

  • Hello,

    I have the exact same problem with my apps when I try to launch one from within the another (with the intent). My setup is similar, I have them installed as "Unknown sources", my OS version is the last one (v83) and my devices are Quest 3.
    I'm sure the apps can launch without any problem because I can do it manually when I launch them via the "Unknown sources" list.

    However in some cases, when I try to launch APK to APK with intent, the first app closes and the second never launches (I also stay in the immersive home). I had this feature working in previous updates (probably when the devices were on v78 or v79) but it seems that recent updates (from v81) result in more failings.

    VTM_Digital​ Did you manage to resolve your issue? If not, did you get more info on the matter, maybe from your support ticket?

    Thanks in advance!

  • In case someone encounters the same problem, here is how I could resolve this on my side.
    The problem is that my launcher APK (first app) was closing too soon after launching the second app. Sometimes it could manage to launch but it would also fail (I could not detect in which cases exactly).
    The trick was to let my Kotlin code handling both launch of next app and closing of current one (initially I let C# code handled the quitting). I still find it weird that the bug appeared once the OS update v81 arrived but maybe something in the update changed how the apps were closing (with the new Home environment)? But maybe it is completely unrelated.
    In any case, I hope it can help!

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions