Description

Attempting to launch a packaged Google VR game on android causes the game to crash. This has occurred on two other devices.

This occurs in Main as well as Dev-VR.

Steps to Reproduce

Setup:
Get a google pixel phone and pair it with a cardboard viewer.
Connect a Google Pixel to your machine.

Repro:

  1. Create a new BP First Person project (For mobile, scalable, and no starter content).
  2. Enable the Google VR Plugin and restart the editor.
  3. Open the Project Settings > Android and configure for Android.
  4. Change the SDK versions to 21 and enable Fullscreen Immersive on KitKat.
  5. Disable Armv7 and enable Arm64.
  6. Enable Configure GoogleVR for sustained-performance mode and configure for Google Play Services.
  7. Go to Android SDK under Platforms and change the NDK API Level from 19 to 21 (change back after testing).
  8. Package for Android ATC and install the resulting batch file onto the Pixel.
  9. Play the project on the Pixel.

Expected Result: Google project launches and can be played on the Pixel.

Actual Result: Google project crashes on the Pixel.

Callstack

12-12 14:41:41.359: A/DEBUG(6775): Build fingerprint: 'google/sailfish/sailfish:7.1/NDE63L/3273814:user/release-keys'
12-12 14:41:41.359: A/DEBUG(6775): Revision: '0'
12-12 14:41:41.359: A/DEBUG(6775): ABI: 'arm64'
12-12 14:41:41.360: A/DEBUG(6775): pid: 6692, tid: 6710, name: Thread-2 >>> com.epicgames.google <<<
12-12 14:41:41.360: A/DEBUG(6775): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
12-12 14:41:41.360: A/DEBUG(6775): x0 0000000000000000 x1 0000000000001a36 x2 0000000000000006 x3 0000000000000008
12-12 14:41:41.360: A/DEBUG(6775): x4 000000000000000a x5 0000000000000000 x6 0080000080000000 x7 3963684f71646260
12-12 14:41:41.360: A/DEBUG(6775): x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001
12-12 14:41:41.360: A/DEBUG(6775): x12 ffffffffffffffff x13 0000000000000000 x14 3f80000000000000 x15 0000007679b361e0
12-12 14:41:41.360: A/DEBUG(6775): x16 000000767e192ee0 x17 000000767e13c250 x18 000000764c674ec0 x19 0000007679b3d4f8
12-12 14:41:41.360: A/DEBUG(6775): x20 0000000000000006 x21 0000007679b3d450 x22 0000000000000011 x23 0000007679b36990
12-12 14:41:41.360: A/DEBUG(6775): x24 f65047d556446929 x25 0000000000000001 x26 000000765e73094c x27 0000007679b36c48
12-12 14:41:41.360: A/DEBUG(6775): x28 0000007679b36c58 x29 0000007679b36850 x30 000000767e1396f8
12-12 14:41:41.360: A/DEBUG(6775): sp 0000007679b36830 pc 000000767e13c258 pstate 0000000060000000
12-12 14:41:41.403: A/DEBUG(6775): backtrace:
12-12 14:41:41.403: A/DEBUG(6775): #00 pc 000000000006b258 /system/lib64/libc.so (tgkill+8)
12-12 14:41:41.403: A/DEBUG(6775): #01 pc 00000000000686f4 /system/lib64/libc.so (pthread_kill+64)
12-12 14:41:41.403: A/DEBUG(6775): #02 pc 0000000000023ce8 /system/lib64/libc.so (raise+24)
12-12 14:41:41.403: A/DEBUG(6775): #03 pc 000000000001c76c /system/lib64/libc.so (abort+52)
12-12 14:41:41.403: A/DEBUG(6775): #04 pc 00000000000ee4c0 /data/app/com.epicgames.google-1/lib/arm64/libgvr.so
12-12 14:41:41.403: A/DEBUG(6775): #05 pc 00000000000a7f30 /data/app/com.epicgames.google-1/lib/arm64/libgvr.so
12-12 14:41:41.404: A/DEBUG(6775): #06 pc 00000000000ea418 /data/app/com.epicgames.google-1/lib/arm64/libgvr.so
12-12 14:41:41.404: A/DEBUG(6775): #07 pc 0000000000033344 /data/app/com.epicgames.google-1/lib/arm64/libgvr.so (gvr_buffer_viewport_list_get_item+100)
12-12 14:41:41.404: A/DEBUG(6775): #08 pc 000000000585e990 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZNK12FGoogleVRHMD25GetStereoProjectionMatrixE17EStereoscopicPassf+60)
12-12 14:41:41.404: A/DEBUG(6775): #09 pc 00000000041c2878 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZNK12ULocalPlayer17GetProjectionDataEP9FViewport17EStereoscopicPassR24FSceneViewProjectionData+3596)
12-12 14:41:41.404: A/DEBUG(6775): #10 pc 00000000041c00f0 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZN12ULocalPlayer24CalcSceneViewInitOptionsER21FSceneViewInitOptionsP9FViewportP18FViewElementDrawer17EStereoscopicPass+556)
12-12 14:41:41.404: A/DEBUG(6775): #11 pc 00000000041c0738 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZN12ULocalPlayer13CalcSceneViewEP16FSceneViewFamilyR7FVectorR8FRotatorP9FViewportP18FViewElementDrawer17EStereoscopicPass+712)
12-12 14:41:41.404: A/DEBUG(6775): #12 pc 0000000004081dc0 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZN19UGameViewportClient4DrawEP9FViewportP7FCanvas+3920)
12-12 14:41:41.404: A/DEBUG(6775): #13 pc 0000000004748c60 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZN9FViewport4DrawEb+1648)
12-12 14:41:41.404: A/DEBUG(6775): #14 pc 00000000045d65bc /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZN14FSceneViewport14ResizeViewportEjjN11EWindowMode4TypeE+132)
12-12 14:41:41.404: A/DEBUG(6775): #15 pc 00000000045d57bc /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZN14FSceneViewport11ResizeFrameEjjN11EWindowMode4TypeE+2300)
12-12 14:41:41.404: A/DEBUG(6775): #16 pc 00000000040335d8 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZN11UGameEngine33SwitchGameWindowToUseGameViewportEv+900)
12-12 14:41:41.404: A/DEBUG(6775): #17 pc 000000000207167c /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_ZN11FEngineLoop4InitEv+2344)
12-12 14:41:41.404: A/DEBUG(6775): #18 pc 000000000206fb38 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (_Z11AndroidMainP11android_app+2576)
12-12 14:41:41.404: A/DEBUG(6775): #19 pc 0000000002077ca8 /data/app/com.epicgames.google-1/lib/arm64/libUE4.so (android_main+208)
12-12 14:41:41.404: A/DEBUG(6775): #20 pc 0000000002091f7c /data/app/com.epicgames.google-1/lib/arm64/libUE4.so
12-12 14:41:41.404: A/DEBUG(6775): #21 pc 0000000000067efc /system/lib64/libc.so (ZL15_pthread_startPv+196)
12-12 14:41:41.404: A/DEBUG(6775): #22 pc 000000000001d980 /system/lib64/libc.so (__start_thread+16)

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-39654 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.15
Target Fix4.15
Fix Commit3260757
Main Commit3389599
Release Commit3260757
CreatedDec 12, 2016
ResolvedJan 17, 2017
UpdatedSep 16, 2019
View Jira Issue