Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
alkashebat's avatar
alkashebat
Protege
3 years ago

Game crashes when recording (If relating to logs)

Like 28 peoples game crashed due to an error:

android_crash:android.app.BackgroundServiceStartNotAllowedException:com.oculus.vrapi.ScreenCaptureHelper.advertiseStreamablePackage
Stack Trace
java.lang.Error: FATAL EXCEPTION [Thread-3]
Unity version     : 2021.3.25f1
Device model      : Oculus Quest
Device fingerprint: oculus/hollywood/hollywood:12/SQ3A.220605.009.A1/50500320057200150:user/release-keys
Build Type        : Release
Scripting Backend : IL2CPP
ABI               : arm64-v8a
Strip Engine Code : true
Caused by: android.app.BackgroundServiceStartNotAllowedException: Not allowed to start service Intent { act=SET_METACAM_PACKAGE_NAME cmp=com.oculus.metacam/.capture.CaptureService (has extras) }: app is in background uid UidRecord{c77b0c3 u0a93 CEM  bg:+1m47s574ms idle change:idle procs:0 seq(0,0,0)}
	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1870)
	at android.app.ContextImpl.startService(ContextImpl.java:1826)
	at android.content.ContextWrapper.startService(ContextWrapper.java:776)
	at com.oculus.vrapi.ScreenCaptureHelper.advertiseStreamablePackage(:47)


Any thoughts?