04-23-2019 09:14 AM
04-23-2019 12:27 PM
04-23-2019 04:14 PM
04-24-2019 08:56 AM
04-24-2019 11:02 AM
Mosel3y said:
@NinjaGaijin
Bug?:
Shipping builds crash on launch, only on Gear VR.
Repo:
1. Make a new project
2. In Android settings Package for Oculus Mobile devices, Add Oculus Go/ Gear VR
3. Package for Android, Shipping configuration
4. Install on mobile device (I've tested S6 and S7)
5. Run app
It will crash immediately.
Log:DEBUG(22895): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***DEBUG(22895): Build fingerprint: 'samsung/zerofltexx/zeroflte:7.0/NRD90M/G920FXXU6ERF5:user/release-keys'DEBUG(22895): Revision: '11'DEBUG(22895): ABI: 'arm'DEBUG(22895): pid: 22797, tid: 22893, name: OVR::TimeWarp >>> com.ProteusVR.AndroidTest_Avatars <<<DEBUG(22895): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------DEBUG(22895): Abort message: 'eglCreateContext failed: EGL_BAD_ATTRIBUTE'DEBUG(22895): r0 00000000 r1 0000596d r2 00000006 r3 00000008DEBUG(22895): r4 c157c978 r5 00000006 r6 c157c920 r7 0000010cDEBUG(22895): r8 c1b21080 r9 c157c700 sl c1b2108c fp c157c6c4DEBUG(22895): ip 00000000 sp c157c1b8 lr f242d9c7 pc f2430230 cpsr 600f0010DEBUG(22895): backtrace:DEBUG(22895): #00 pc 0004a230 /system/lib/libc.so (tgkill+12)DEBUG(22895): #01 pc 000479c3 /system/lib/libc.so (pthread_kill+34)DEBUG(22895): #02 pc 0001d9c5 /system/lib/libc.so (raise+10)DEBUG(22895): #03 pc 00019511 /system/lib/libc.so (__libc_android_abort+34)DEBUG(22895): #04 pc 00017150 /system/lib/libc.so (abort+4)DEBUG(22895): #05 pc 00005903 /system/lib/liblog.so (__android_log_assert+114)DEBUG(22895): #06 pc 00126ca8 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #07 pc 0010a700 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #08 pc 00108da4 /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #09 pc 00108d6c /data/app/com.oculus.systemdriver-2/lib/arm/libvrapiimpl.soDEBUG(22895): #10 pc 00047493 /system/lib/libc.so (_ZL15__pthread_startPv+22)DEBUG(22895): #11 pc 00019f6d /system/lib/libc.so (__start_thread+6)
--
I believe the problem is in OculusHMD.cpp. Line 2175:#if PLATFORM_ANDROID && USE_ANDROID_EGL_NO_ERROR_CONTEXTovrp_SetupDistortionWindow3(ovrpDistortionWindowFlag_NoErrorContext);#elseovrp_SetupDistortionWindow3(ovrpDistortionWindowFlag_None);#endif // PLATFORM_ANDROID && USE_ANDROID_EGL_NO_ERROR_CONTEXT
After changing "ovrpDistortionWindowFlag_NoErrorContext", to "ovrpDistortionWindowFlag_None", it will run on Gear VR, however it will now crash on the Oculus Go.
Am I the only one getting this result ?
04-24-2019 05:03 PM
04-26-2019 01:31 PM
04-27-2019 01:25 AM
04-27-2019 09:45 AM
04-29-2019 06:52 AM