Skip to main content
Inspiring
October 25, 2020
Solved

Android app not showing up when Unity project contains 'Oculus' folder

  • October 25, 2020
  • 3 replies
  • 2410 views
Hello, after developing a VR app in Oculus Quest and I repurpose the app to run on Android phone instead, while the Oculus Integration is still inside Unity directory (Oculus folder), no matter what I export and modify the Android Manifest file (intent.category.DEFAULT/INFO/LAUNCHER), the app doesn't show up in application list (App Drawer) in my android phone/tablet. In the end I have to remove the entire Oculus folder and magically it appears again. So, my question is, how to have the app icon shows up and I don't have to remove Oculus Integration folder. I believe there is a parameter somewhere that hide my app that was triggered automatically while Oculus folder is still inside Unity project directory.

Thanks!
    This topic has been closed for replies.
    Best answer by lukassdzalbs
    Hi, after long digging in Oculus package code I found this - OVRGraddleGeneration.cs Line 245 - Comment this line: OVRManifestPreprocessor.PatchAndroidManifest(file, enableSecurity: patchedSecurityConfig);
    Should work. Just remember to uncomment it after apk build.

    3 replies

    November 18, 2020
    Hi! Did you find any solution to this? I am having the same issue.
    New Participant
    November 24, 2020
    Hi, after long digging in Oculus package code I found this - OVRGraddleGeneration.cs Line 245 - Comment this line: OVRManifestPreprocessor.PatchAndroidManifest(file, enableSecurity: patchedSecurityConfig);
    Should work. Just remember to uncomment it after apk build.
    November 25, 2020
    That worked! Thanks, that saved me a lot of time! :)