However, when I sideload it onto the Quest and run it immediately crashes. I dumped out some logs via logcat but I don't see a useful / helpful exception in there.
Setup:
Unity 2019.1.6f1 (latest at the time of this post)
Win10 Insider Preview Build ("latest" at the time of this post)
Again, I followed the post to the best of my knowledge and got an .apk out. Then I sideloaded it via SideQuest.
It crashes right away and here is the log. There isn't a lot of details on what went wrong. I do eventually see an exception (see below) after launching multiple times but not sure if it's the root cause Any suggestions or ideas? C:\Program Files\Unity\Hub\Editor\2019.1.6f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools>adb logcat
06-13 20:45:34.247 1113 1166 I UsbDeviceManager: Setting USB config to mtp,adb
06-13 20:49:20.366 1113 1145 I ProcessStatsService: Prepared write state in 1ms
06-13 20:50:22.689 1113 1178 V BackupManagerService: restoreAtInstall pkg=com.ivberg.OculusQuestTest token=5 restoreSet=0
06-13 20:50:22.689 1113 1178 V BackupManagerService: Finishing install immediately
06-13 20:50:22.767 1113 1113 V KeyValueBackupJob: Scheduling k/v pass in 244 minutes
06-13 20:50:22.776 1113 1144 W VoiceInteractionManagerService: no available voice recognition services found for user 0
06-13 20:50:42.598 1113 1514 I PowerManagerService: Waking up from sleep (uid 1000)...
06-13 20:50:42.599 1113 1171 I DisplayPowerController: Blocking screen on until initial contents have been drawn.
06-13 20:50:42.616 1113 1168 I DisplayManagerService: Display device changed state: "Built-in Screen", ON
06-13 20:50:42.916 1113 1171 I DisplayPowerController: Unblocked screen on after 318 ms
06-13 20:50:45.506 1113 1514 I DisplayManagerService: Display device removed: DisplayDeviceInfo{"com.oculus.android_panel_app.AndroidPanelLayer-dialog": uniqueId="virtual:com.oculus.vrshell,10024,com.oculus.android_panel_app.AndroidPanelLayer-dialog,0", 540 x 300, modeId 74, defaultModeId 74, supportedModes [{id=74, width=540, height=300, fps=60.0}], colorMode 0, supportedColorModes [0], HdrCapabilities null, density 160, 160.0 x 160.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, state ON, owner com.oculus.vrshell (uid 10024), FLAG_PRIVATE, FLAG_NEVER_BLANK, FLAG_OWN_CONTENT_ONLY}
06-13 20:50:45.509 1113 1290 I DisplayManagerService: Display device added: DisplayDeviceInfo{"com.oculus.android_panel_app.AndroidPanelLayer-dialog": uniqueId="virtual:com.oculus.vrshell,10024,com.oculus.android_panel_app.AndroidPanelLayer-dialog,0", 360 x 850, modeId 75, defaultModeId 75, supportedModes [{id=75, width=360, height=850, fps=60.0}], colorMode 0, supportedColorModes [0], HdrCapabilities null, density 160, 160.0 x 160.0 dpi, appVsyncOff 0, presDeadline 16666666, touch NONE, rotation 0, type VIRTUAL, state OFF, owner com.oculus.vrshell (uid 10024), FLAG_PRIVATE, FLAG_NEVER_BLANK, FLAG_OWN_CONTENT_ONLY}
06-13 20:50:45.546 1113 1168 I DisplayManagerService: Display device changed state: "com.oculus.android_panel_app.AndroidPanelLayer-dialog", ON
06-13 20:50:55.595 1113 1133 I ActivityManager: Start proc 25343:com.oculus.vrshell.home:library/u0a48 for service com.oculus.vrshell.home/.LibraryService
06-13 20:50:56.621 1113 1167 D BluetoothManagerService: Message: 20
06-13 20:50:56.621 1113 1167 D BluetoothManagerService: Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy@ee3e0ad:true
06-13 20:51:04.177 1113 9025 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10010000 pkg=com.ivberg.OculusQuestTest cmp=com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity (has extras)} from uid 10024 on display 0
06-13 20:51:05.619 1113 1434 I ActivityManager: Process com.ivberg.OculusQuestTest (pid 25496) has died
06-13 20:51:05.619 1113 1434 D ActivityManager: cleanUpApplicationRecord -- 25496
06-13 20:51:05.619 1113 1434 W ActivityManager: Force removing ActivityRecord{709393a u0 com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity t159}: app died, no saved state
06-13 20:51:05.620 1113 9025 W WindowManager: Force-removing child win Window{dd9e5b6 u0 SurfaceView - com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity} from container Window{dd0fb63 u0 com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity}
06-13 20:51:05.630 1113 1608 W WindowManager: Failed looking up window callers=com.android.server.wm.WindowManagerService.windowForClientLocked:9464 com.android.server.wm.WindowState$DeathRecipient.binderDied:1808 android.os.BinderProxy.sendDeathNotice:688
06-13 20:51:05.630 1113 1608 I WindowManager: WIN DEATH: null
06-13 20:51:05.864 1113 1514 I ActivityManager: Start proc 25544:com.oculus.vrshell.home:explore/u0a48 for service com.oculus.vrshell.home/.ExploreService
06-13 20:51:06.759 1113 1167 D BluetoothManagerService: Message: 20
06-13 20:51:06.760 1113 1167 D BluetoothManagerService: Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy@e0611c0:true
06-13 20:51:12.239 1113 1290 I ActivityManager: Start proc 25676:com.oculus.vrshell.home:library/u0a48 for service com.oculus.vrshell.home/.LibraryService
06-13 20:51:13.186 1113 1167 D BluetoothManagerService: Message: 20
06-13 20:51:13.186 1113 1167 D BluetoothManagerService: Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy@aca461c:true
06-13 20:51:17.297 1113 1608 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10010000 pkg=com.ivberg.OculusQuestTest cmp=com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity (has extras)} from uid 10024 on display 0
06-13 20:51:17.575 1113 1607 I ActivityManager: Process com.oculus.vrshell.home:library (pid 25676) has died
06-13 20:51:17.575 1113 1607 D ActivityManager: cleanUpApplicationRecord -- 25676
06-13 20:51:17.604 1113 1549 I ActivityManager: Process com.oculus.vrshell.home:explore (pid 25544) has died
06-13 20:51:17.604 1113 1549 D ActivityManager: cleanUpApplicationRecord -- 25544
06-13 20:51:17.810 1113 1145 W ActivityManager: Activity pause timeout for ActivityRecord{1d688e u0 com.oculus.vrshell/.MainActivity t150}
06-13 20:51:17.829 1113 1145 I ActivityManager: Start proc 25778:com.ivberg.OculusQuestTest/u0a96 for activity com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity
06-13 20:51:18.531 1113 1132 I ActivityManager: Process com.ivberg.OculusQuestTest (pid 25778) has died
06-13 20:51:18.531 1113 1132 D ActivityManager: cleanUpApplicationRecord -- 25778
06-13 20:51:18.532 1113 1132 W ActivityManager: Force removing ActivityRecord{343a808 u0 com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity t160}: app died, no saved state
06-13 20:51:18.543 1113 1516 W WindowManager: Failed looking up window callers=com.android.server.wm.WindowManagerService.windowForClientLocked:9464 com.android.server.wm.WindowState$DeathRecipient.binderDied:1808 android.os.BinderProxy.sendDeathNotice:688
06-13 20:51:18.544 1113 1516 I WindowManager: WIN DEATH: null
06-13 20:51:18.544 1113 1545 W WindowManager: Failed looking up window callers=com.android.server.wm.WindowManagerService.windowForClientLocked:9464 com.android.server.wm.WindowState$DeathRecipient.binderDied:1808 android.os.BinderProxy.sendDeathNotice:688
06-13 20:51:18.544 1113 1545 I WindowManager: WIN DEATH: null
06-13 20:51:18.793 1113 9025 I ActivityManager: Start proc 25822:com.oculus.vrshell.home:explore/u0a48 for service com.oculus.vrshell.home/.ExploreService
06-13 20:51:19.847 1113 1167 D BluetoothManagerService: Message: 20
06-13 20:51:19.847 1113 1167 D BluetoothManagerService: Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy@4837e80:true
06-13 20:51:26.368 1113 1202 I PowerManagerService: Going to sleep due to power button (uid 1000)...
06-13 20:51:26.372 1113 1171 I PowerManagerService: Sleeping (uid 1000)...
06-13 20:51:26.431 1113 1113 W ProcessCpuTracker: Skipping unknown process pid 25932
06-13 20:51:26.431 1113 1113 W ProcessCpuTracker: Skipping unknown process pid 25934
06-13 20:51:26.435 1113 1168 I DisplayManagerService: Display device changed state: "Built-in Screen", OFF
06-13 20:52:03.186 1113 1149 E BatteryStatsService: no controller energy info supplied
06-13 20:52:03.196 1113 1149 E BatteryStatsService: no controller energy info supplied
06-13 20:53:21.364 1113 1144 I UsageStatsService: User[0] Flushing usage stats to disk
06-13 21:08:28.916 1113 1113 I ActivityManager: Killing 12924:com.android.providers.calendar/u0a2 (adj 906): empty for 1835s
06-13 21:08:28.916 1113 1113 I ActivityManager: Killing 22082:com.android.calendar/u0a27 (adj 906): empty for 1840s
06-13 21:08:28.917 1113 1113 I ActivityManager: Killing 22110:com.qualcomm.timeservice/1000 (adj 906): empty for 1840s
06-13 21:08:28.964 1113 1392 D ActivityManager: cleanUpApplicationRecord -- 12924
06-13 21:08:28.969 1113 1132 D ActivityManager: cleanUpApplicationRecord -- 22110
06-13 21:08:28.971 1113 1555 D ActivityManager: cleanUpApplicationRecord -- 22082
06-13 21:16:26.887 1113 1113 I ActivityManager: Killing 2356:com.nousguide.android.rbtv/u0a71 (adj 906): empty for 2249s
06-13 21:16:26.907 1113 1555 D ActivityManager: cleanUpApplicationRecord -- 2356
06-13 21:22:03.217 1113 1149 E BatteryStatsService: no controller energy info supplied
06-13 21:22:03.228 1113 1149 E BatteryStatsService: no controller energy info supplied
06-13 21:23:05.943 1113 1549 I ActivityManager: Killing 23148:com.android.gallery3d/u0a34 (adj 906): empty for 1963s
06-13 21:23:05.952 1113 1145 I ProcessStatsService: Prepared write state in 7ms
06-13 21:23:05.964 1113 1290 D ActivityManager: cleanUpApplicationRecord -- 23148
06-13 21:23:06.109 1113 1144 I ProcessStatsService: Pruning old procstats: /data/system/procstats/state-2019-06-09-19-09-37.bin
06-13 21:28:42.617 1113 1145 I ActivityManager: Force stopping com.ivberg.OculusQuestTest appid=10096 user=-1: installPackageLI
06-13 21:28:42.686 1113 1178 I PackageManager: Package com.ivberg.OculusQuestTest codePath changed from /data/app/com.ivberg.OculusQuestTest-1 to /data/app/com.ivberg.OculusQuestTest-2; Retaining data and using new
06-13 21:28:42.686 1113 1178 W PackageManager: Code path for com.ivberg.OculusQuestTest changing from /data/app/com.ivberg.OculusQuestTest-1 to /data/app/com.ivberg.OculusQuestTest-2
06-13 21:28:42.686 1113 1178 W PackageManager: Resource path for com.ivberg.OculusQuestTest changing from /data/app/com.ivberg.OculusQuestTest-1 to /data/app/com.ivberg.OculusQuestTest-2
06-13 21:28:42.917 1113 1178 I ActivityManager: Force stopping com.ivberg.OculusQuestTest appid=10096 user=0: pkg removed
06-13 21:28:42.937 1113 1145 I ActivityManager: Start proc 29442:com.android.gallery3d/u0a34 for broadcast com.android.gallery3d/.app.PackagesMonitor
06-13 21:28:42.961 1113 1169 W ProcessCpuTracker: Skipping unknown process pid 29412
06-13 21:28:42.968 1113 1144 W VoiceInteractionManagerService: no available voice recognition services found for user 0
06-13 21:28:43.001 1113 1290 I ActivityManager: Start proc 29457:com.android.keychain/1000 for broadcast com.android.keychain/.KeyChainBroadcastReceiver
06-13 21:28:43.036 29457 29457 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1357 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:3064
06-13 21:28:43.076 1113 1608 I ActivityManager: Killing 24740:com.oculus.os.vrmtpapp/1000 (adj 906): empty for 2281s
06-13 21:28:43.087 1113 1132 D ActivityManager: cleanUpApplicationRecord -- 24740
06-13 21:28:43.848 1113 1607 I ActivityManager: Force stopping com.ivberg.OculusQuestTest appid=10096 user=0: from pid 29474
06-13 21:28:44.104 1113 1549 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity} from uid 2000 on display 0
06-13 21:28:44.122 1113 1549 I ActivityManager: Start proc 29484:com.ivberg.OculusQuestTest/u0a96 for activity com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity
06-13 21:28:49.230 1113 1133 I ActivityManager: Process com.ivberg.OculusQuestTest (pid 29773) has died
06-13 21:28:49.230 1113 1133 D ActivityManager: cleanUpApplicationRecord -- 29773
06-13 21:28:49.232 1113 1133 W ActivityManager: Force removing ActivityRecord{a2c6535 u0 com.ivberg.OculusQuestTest/com.unity3d.player.UnityPlayerActivity t161}: app died, no saved state
06-13 21:28:49.348 1113 1584 W OculusWindowMgr: Failed to deliver focus changed event
06-13 21:28:49.348 1113 1584 W OculusWindowMgr: java.lang.NullPointerException: null receiver
06-13 21:28:49.348 1113 1584 W OculusWindowMgr: at java.lang.reflect.Field.get(Native Method)
06-13 21:28:49.348 1113 1584 W OculusWindowMgr: at oculus.internal.OculusWindowManagerService$WindowChangedListener.focusChanged(OculusWindowManagerService.java:115)
06-13 21:28:49.348 1113 1584 W OculusWindowMgr: at oculus.internal.OculusWindowManagerService$1.registerWindowLayoutObserver(OculusWindowManagerService.java:66)
06-13 21:28:49.348 1113 1584 W OculusWindowMgr: at oculus.internal.IOculusWindowManager$Stub.onTransact(IOculusWindowManager.java:53)
06-13 21:28:49.348 1113 1584 W OculusWindowMgr: at android.os.Binder.execTransact(Binder.java:565)
06-13 21:28:50.462 1113 1168 W WindowManager: App freeze timeout expired.
So it looks like this fixes the issue Project Settings -> Player -> Other Settings -> Graphics APIs -> (Remove Vulcan)
That article above didn't have the solution but the XR Settings warning hinted at this and this video explicitly said so as well. https://www.youtube.com/watch?v=eySe4Wj6xbk
I was concerned about removing Vulcan as it seems it greatly helps rendering perf, but maybe it's just not supported on Quest or something like that.