[GearVR / Go] Pressing back button crashes the app only in distribution UE4 4.19.2 — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

[GearVR / Go] Pressing back button crashes the app only in distribution UE4 4.19.2

maro87mqmaro87mq Posts: 12
NerveGear
Hello,

I'm having trouble with back button functionality. If user presses it shortly I execute command (through blueprints) 'vr.oculus.ShowQuitMenu', otherwise it is handled by oculus SDK to display global menu and it works fine in development, but when I prepare the app for distribution and send it to review process I get back that the app is crashing when back is pressed.

Has anyone encountered such isssue? 
I've read that it was the case in earlier versions of the engine because JNI was detaching, but it was fixed, but maybe there's also a place where this is happening?

I'm using binary distribution of UE4 4.19.2 and testing the development build on Samsung Galaxy S7.

Tagged:

Comments

  • maro87mqmaro87mq Posts: 12
    NerveGear
    Ok, thank you. I will replace it and send a new build for review.
  • maro87mqmaro87mq Posts: 12
    NerveGear
    Sorry to keep you waiting but I've just got back the results and it looks like the entitlements check that worked before isn't working anymore. Review result:

    "Due to a technical issue in our test results reporting system, we're unable to provide a formal test result at this time. The VRC failures and feedback below is from our technical review team:

    VRC.Mobile.Security.1 - Entitlements check"

    The check is performed with Verify Entitlements blueprint node if it's true the game loads if false, the message is displayed about wrong entitlements and after 3 seconds the app is closed.

    Should I assume this is the only problem or no other tests were performed so the issue with back button could still be present?
  • maro87mqmaro87mq Posts: 12
    NerveGear
    @imperativity

    Yes, it looks like the replacement file did solve the back button issue since it wasn't mentioned in the review results.

    I have the entry present in DefaultEngine.ini file with correct app ID. I didn't make any changes there because it wasn't an issue in previous submissions.
  • maro87mqmaro87mq Posts: 12
    NerveGear
    @imperativity

    I've attached logs. I don't see there anything suspicious, but during our tests, the app runs fine, the entitlements check is failing when logged on a different account (the app quits) and passing if logged on a dev account (app starts as usual).
    I'm not really sure what's the issue during review process because it looks like it works correctly.

  • maro87mqmaro87mq Posts: 12
    NerveGear
    @imperativity
     I've sent you a PM regarding the sources.
  • maro87mqmaro87mq Posts: 12
    NerveGear
    edited August 2018
    @imperativity ;
    Before sending you build sources, I've also pushed to certification new version without any changes and I've just go message about it passing the review.

    So either there was some wierd issue that I cannot explain or the review process is not fully deterministic.

    Either way, thank you for your help.

    The replacement file is the resolution to this back button crash issue.

    libOVRPlugin replacement file for UE4 4.19:
    https://www.dropbox.com/s/bngotaoi8lm9mrr/libOVRPlugin.rar?dl=0
  • motorsepmotorsep Posts: 1,364 Oculus Start Member
    maro87mq said:
    @imperativity ;
    Before sending you build sources, I've also pushed to certification new version without any changes and I've just go message about it passing the review.

    So either there was some wierd issue that I cannot explain or the review process is not fully deterministic.

    Either way, thank you for your help.

    The replacement file is the resolution to this back button crash issue.

    libOVRPlugin replacement file for UE4 4.19:
    https://www.dropbox.com/s/bngotaoi8lm9mrr/libOVRPlugin.rar?dl=0
    I'd be surprised if anyone will download DLL from someone's dropbox (in this age of Internet security issues). Where did you get this DLL file originally (so that I could get it from the original source and not from the dropbox) ?
  • maro87mqmaro87mq Posts: 12
    NerveGear
    It was uploaded by imperativity who is an oculus staff member.
    I know it was risky but he's a member of oculus and I think it was in mutual interest to solve issues that arise, that's what this forum is about.
  • bologendhengbologendheng Posts: 2
    NerveGear
    Hi, I have same issue. I tried to download dropbox file but I can't open the libOVRPlugin since there's warning on rar file "the archieve damaged" message. Can you re-upload the updated file again. Thanks!
Sign In or Register to comment.