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
2 years ago

Game crashing when recording (According to logs)

Game is crashin:

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 ideas?

3 Replies

  • MetaStoreHelp Can anybody from Meta help me? v52 and v53 updates are very buggy. v50 and below was okay and my game was running just fine until v52 and v53 came out

  • We have the same problem with same error 

    android_crash:android.app.BackgroundServiceStartNotAllowedException:com.oculus.vrapi.ScreenCaptureHelper.advertiseStreamablePackage

     

    your app crashes only with v52 and 53?

  • Just started getting the same issue as well. meta could someone please look into this?