Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ykobashi_oc's avatar
ykobashi_oc
Honored Guest
4 years ago

OculusQuest app made with UE4 crashes due to libvrapi

Hello.
My OculusQuest app made with UE4 sometimes crashes in the user's environment.
According to the stack trace, it seems to be crashed by libvrapi. The stack trace and logs are attached for your reference.
I'm using UE4 version 4.24 and OVRPlugin version 1.45.0.
I don't know if this is related to the crash, but looking at the breadcrumb, it seems that onActivityPaused and onActivitySaveInstanceState of ActivityLifecycle are called about 0-5 seconds before the crash.
Do you know what causes this crash and what the solution is?
 
 
03-30 20:43:32.797  7556  8752 I Telemetry: App memory usage: PSS=1786MB DalvikPSS=3 MB
03-30 20:43:39.597  7556  7653 I vxaapi  : vxa_render_device_close
03-30 20:43:39.597  7556  7653 D         : PlayerBase::stop() from IPlayer
03-30 20:43:39.597  7556  7653 D AudioTrack: stop(53😞 called with 47817984 frames delivered
03-30 20:43:39.597  7556  7652 I vxaapi  : vxa_list_capture_devices
03-30 20:43:39.597  7556  7652 I chatty  : uid=10103(MyApp) VxCommandHandle identical 2 lines
03-30 20:43:39.597  7556  7652 I vxaapi  : vxa_list_capture_devices
03-30 20:43:39.597  7556  7652 I vxaapi  : vxa_list_render_devices
03-30 20:43:39.597  7556  7652 I vxaapi  : vxa_list_render_devices
03-30 20:43:39.599  7556  7653 I vxaapi  : vxa_capture_device_close
03-30 20:43:39.621  7556  7621 D OVRPlugin: Leaving VR mode.
03-30 20:43:39.621  7556  7621 I VrApi   : ---------- vrapi_LeaveVrMode [start] ----------
03-30 20:43:39.646  7556  7621 D VrApi   : targetSDKVersion 25
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: DEVICE MODEL NUMBER = Quest
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: DEVICE HARDWARE = hollywood
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: DEVICE BUILD NAME = user-1462400.7360.0
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: DEVICE BUILD TYPE = user
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: DEVICE OS VERSION = 10
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: VRRUNTIME VERSION = VRAPI_VERSION_BEGIN { 1.1.43.0-274987955-274987955 Feb 23 2021 19:56:04 Development } RELEASE
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: API LOADER VERSION = 1.1.30.0
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: VRDRIVER VERSION = 26.0.0.41.502
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: APP NAME = MyApp
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: APP VERSION = 1.6.1.35030 versionCode 35030 internalVersionName <none>
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: APP VR TYPE = vr_only
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: APP MODE TYPE = <none>
03-30 20:43:39.750  7556  7621 I VrRuntimeClient: APP ACTIVITY CLASS = com.epicgames.ue4.GameActivity
03-30 20:43:39.751  7556  7621 D BatteryReceiver: Unregistering battery receiver
03-30 20:43:39.751  7556  7621 I Sensor  : OSSDKTRACKING Shutdown tracking
03-30 20:43:39.774  7556  7621 I VrApi   : OVR::Stats thread stopped
03-30 20:43:39.774  7556  7621 I InputDeviceManager: ovrInputDeviceManager::~ovrInputDeviceManager
03-30 20:43:39.774  7556  7621 I HandDataQuerier: OSSDKTRACKING shutting down HandsTracker
03-30 20:43:39.774  7556  7621 I HandDataQuerier: OSSDKTRACKING shutting down HandsTracker
03-30 20:43:39.775  7556  7621 I InputDevice_TrackedRemote: OSSDKTRACKING shutting down Haptics
03-30 20:43:39.775  7556  7621 I InputDevice_TrackedRemote: OSSDKTRACKING shutting down Haptics
03-30 20:43:39.775  7556  7621 D OsSdk   : TrackingServiceConnection dtor
03-30 20:43:39.776  7556  7621 D OsSdk   : TrackingServiceConnection unregistered
03-30 20:43:42.460  7556  7646 W AudioTrack: restartIfDisabled(38😞 releaseBuffer() track 0x783c430400 disabled due to previous underrun, restarting
03-30 20:43:42.460  7556  7674 W AudioTrack: restartIfDisabled(39😞 releaseBuffer() track 0x7789ea4400 disabled due to previous underrun, restarting
03-30 20:43:42.500  7556  9028 D AudioStreamLegacy: onAudioDeviceUpdate() devId 2 => 2
No RepliesBe the first to reply