Description

If the user tries to join a listen server with an app that is running on the Gear VR the App will stop working.

Steps to Reproduce
  1. Make sure Gear VR is setup
  2. Open the Attached project
  3. Package for Windows 64 bit
  4. Package for Android ETC2
  5. Open the windows version
  6. Press 'H' To create a listen server
  7. Open the App on the phone
  8. Click the button on the touch screen to Join a server
  9. Notice that the app stops working

Expected: The app would join the server being hosted by the pc
Result: The app appears to crash

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 24264]
0xe09630a4 in FGearVR::DrawDebug (this=0xdb7cf3e0, Canvas=<optimized out>)
    at D:\Epic Games\4.10\Engine\Plugins\Runtime\GearVR\Source\GearVR\Private/GearVR.cpp:1040
1040                    DrawSeaOfCubes(GWorld, Canvas->SceneView->ViewLocation);
(gdb) bt
#0  0xe09630a4 in FGearVR::DrawDebug (this=0xdb7cf3e0, Canvas=<optimized out>)
    at D:\Epic Games\4.10\Engine\Plugins\Runtime\GearVR\Source\GearVR\Private/GearVR.cpp:1040
#1  0xded71624 in UGameViewportClient::Draw (this=0xd3ed5700, InViewport=<optimized out>, SceneCanvas=<optimized out>)
    at D:\Epic Games\4.10\Engine\Source\Runtime\Engine\Private/GameViewportClient.cpp:1260
#2  0xdf1d86b8 in FViewport::Draw (this=0xd37d0004, bShouldPresent=<optimized out>)
    at D:\Epic Games\4.10\Engine\Source\Runtime\Engine\Private/UnrealClient.cpp:1020
#3  0xded30024 in UGameEngine::RedrawViewports (this=<optimized out>, bShouldPresent=false)
    at D:\Epic Games\4.10\Engine\Source\Runtime\Engine\Private/GameEngine.cpp:393
#4  0xdf252e1c in UEngine::LoadMap (this=0xe14e35f0 <GWorld>, WorldContext=..., URL=..., Pending=<optimized out>,
    Error=...) at D:\Epic Games\4.10\Engine\Source\Runtime\Engine\Private/UnrealEngine.cpp:9684
#5  0xdf24dcd0 in UEngine::TickWorldTravel (this=0xdb51b000, Context=..., DeltaSeconds=<optimized out>)
    at D:\Epic Games\4.10\Engine\Source\Runtime\Engine\Private/UnrealEngine.cpp:8953
#6  0xded33960 in UGameEngine::Tick (this=<optimized out>, DeltaSeconds=0.0171408653, bIdleMode=<optimized out>)
    at D:\Epic Games\4.10\Engine\Source\Runtime\Engine\Private/GameEngine.cpp:920
#7  0xdd1516f8 in FEngineLoop::Tick (this=0xe13ae340 <GEngineLoop>)
    at D:\Epic Games\4.10\Engine\Source\Runtime\Launch\Private/LaunchEngineLoop.cpp:2420
#8  0xdd15db30 in AndroidMain (state=<optimized out>)
    at D:\Epic Games\4.10\Engine\Source\Runtime\Launch\Private\Android/LaunchAndroid.cpp:304
#9  0xdd15de14 in android_main (state=0xf4a07700)
    at D:\Epic Games\4.10\Engine\Source\Runtime\Launch\Private\Android/LaunchAndroid.cpp:425
#10 0xdd16a744 in android_app_entry (param=0xf4a07700)
    at D:/NVPACK/android-ndk-r10e/sources/android/native_app_glue\android_native_app_glue.c:233
#11 0xf71714e8 in __pthread_start(void*) ()
   from D:\Projects\BattlegroundsMobile\Intermediate\Android\APK\obj\local\armeabi-v7
a\libc.so
#12 0xf716f504 in __start_thread ()
   from D:\Projects\BattlegroundsMobile\Intermediate\Android\APK\obj\local\armeabi-v7
a\libc.so
#13 0x00000000 in ?? ()
(gdb)

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.10
Target Fix4.12
Fix Commit2967989
Main Commit2905127
Release Commit2967989
CreatedDec 10, 2015
ResolvedMay 5, 2016
UpdatedSep 16, 2019