OculusSampleFrameworkProject_1.5.1 won't "launch" — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

OculusSampleFrameworkProject_1.5.1 won't "launch"

I have followed the instructions https://developer3.oculus.com/documentation/game-engines/1.3/concepts/unity-sample-framework/ and https://developer3.oculus.com/documentation/mobilesdk/latest/concepts/mobile-submission-sig-file/ and https://developer.android.com/studio/publish/app-signing.html and https://dashboard.oculus.com/tools/osig-generator/I have
  • I have added my oculussig_xxx file to Plugins/Android/assets
  • I have created a new keystore.
  • I have setup my Publishing Settings to use this keystore
Yet, I still get the error:

"No activity in the manifest with action MAIN and category LAUNCHER. Try launching the application manually on the device."

There are also no app icon created on my device and it is not possible to start the OculusSampleFrameworkProject.

I know I am new to Oculus, but isn't the sample project supposed to work out of the box?

How do I get the sample framework to start?


  • sterlingcrispinsterlingcrispin Posts: 6
    edited September 2017
    getting the same issue with the oculus generated android manifest file, Unity 5.6.1.f , the above solution does not resolve the problem


    add this to the main activity in the android manifest file


    and then change
                   <category android:name="android.intent.category.INFO"/>

                   <category android:name="android.intent.category.LAUNCHER"/>

    Apparently for Oculus store releases it has to be on INFO but it won't run for debug purposes unless on LAUNCHER, I don't know if this is documented anywhere 
  • SkyMageSkyMage Posts: 12
    Unity will compile all AndroidManifest.xml files it finds in the assets directory, if I understand correctly. If the Oculus utilities menu option is used to create a store-ready manifest, it will appear in your assets\plugins\android folder. 
    If you have that file in place, and oculus still rejects your build, see if you have other AndroidManifest.xml files that you don't need / shouldn't have sitting around in your project?
    I've taken to renaming the file to AndroidManifestForOculus.xml when I'm not building for alpha submission, then name it properly when I want to create a compliant built (which can't be run directly on your phone for testing purposes.)
Sign In or Register to comment.