This just cost me a couple hours to find as the code doesn’t look suspicious.
The OnPostGenerateGradleAndroidProject in OculusManifest strips out the following necessary tag:
<uses-feature android:glEsVersion="0x00030001" />
It’s simply GONE after that postprocessor has run. This results in Oculus not accepting the APK anymore (the automated checks kick in and say that “glEsVersion is not specified in manifest”. After checking with Android Studio APK Analyzer I can see that this is true, it’s been stripped out from the original AndroidManifest.xml in Assets/Plugins/Android.
Simply adding a “return” at the beginning of that method prevents the stripping and allows store submission again.
This is a regression to earlier versions of the Oculus Android package where this attribute was not stripped out.
@LeonhardP this is another blocker for Quest support in Unity (fortunately this time with a workaround).