[GearVR] App crashes when exported for distribution

If you export your GearVR app with ‘For Distribution’ ticked the app crashes after you insert it into your gearvr.

This is very easy to reproduce and has been on all versions of UE4 (but I’m currently on UE4.9.2 source). Simply:

  • Export any gearvr project with ‘for distribution’ ticked
  • Start app via a shortcut manager since launcher is not used in the manifest for GearVR distributions (eg: quickShortcutMaker)
  • After the “insert your GearVR” message notice your app crashes directly back to the home screen.

Could you please suggest a fix / workaround asap as I have submitted a game to Oculus and they are unable to review it after finding this bug? (I had thought it was related to Entitlement but seems it isnt’ since even they can’t start the app)

Hey aussieburger,

Just wanted to let you know this is on my radar to test. I’ll respond as soon as I’ve had a chance to see if I can reproduce. If I have any followup questions I’ll post back here.

Thanks for your patience.

Thanks ,

In the meantime I found a workaround by doing a shipping export, but not with distribution ticked, but first modifying the source code where the manifest is created to make the manifest changes the distribution flag usually does.

The resultant file size is about 2meg larger so it appears For Distribution is stripping something it shouldn’t imo.

We actually have a bug in for this with UE-22044. It was only reported a few days ago. I’ll add this post to it for tracking and once there is a fix in I’ll update here with the results.

I’m glad you have a workaround for the moment and thanks for your patience while this is being looked into.

Hi , we have the same problem here and can’t run our app through VR gear on distribution mode. Have you some informations about the UE-22044? We work on a BP project and have no workaround solution for now.

Where can we found a complete “normal” process to export in distribution mode for Gear VR through Unreal?

Thanks

Hi Roonan,

This has been fixed for 4.10 but has not been integrated into one of the Preview Builds that has been released yet. This hopefully should be in the 4.10 Preview 3 build going out soon. Give it a test there and let me know if that works for you. I do not recommend directly converting your project to this build until the final version releases though if this resolves your issue. Only open the project as a copy or setup a simple test project to see if it works correctly.

Hey ,

Any update? Having same problem on 4.8.3, but I will try moving to 4.10.

Thanks,

It’s fixed and working for me in 4.10