22 How to solve it if app icon doesn’t display

To allow an application icon display on PUI launcher, the application’s Manifest has to include the Android Manifest tag <category android:name=”android.intent.category.LAUNCHER” />:

<activity android:name="com.unity3d.player.UnityPlayerNativeActivityPico" android:label="@string/app_name" android:screenOrientation="landscape" android:launchMode="singleTask" android:configChanges="screenSize|orientation|keyboardHidden|keyboard">
  <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" /> //This is required to display application on PUI launcher
  </intent-filter>

Sometimes when Oculus SDK is imported, it will modify the AndroidManifest.xml script before building the apk, which will modify the AndroidManifest.xml script before building the apk. In Assests/Oculus/VR/Editor/OVRGradleGeneration.cs script, there is a function PatchAndroidManifest(). And it will replace the tag with <category android:name=”android.intent.category.INFO” />

So this script is in the project, please try commenting out the following line:

    else
    {
        UnityEngine.Debug.LogWarning("Unable to locate build.gradle");
    }

    PatchAndroidManifest(path);        //<------ Comment this out
}

public void PatchAndroidManifest(string path)
{