cancel
Showing results for 
Search instead for 
Did you mean: 

UE4.27 VR Preview crash when 'play as client'

STOICENT
Honored Guest

Hi, I'm developing multiplayer FPS Game and trying to use spacewarp on UE4.

I followed Oculus guide here : https://developer.oculus.com/documentation/unreal/unreal-asw 

But when I set 2 players and try to Play VR preview with 'Play as Client' setting in editor,

editor just shut down without any crash report. (It works on 'Play as Standalone')

It also occur on VR template project..

 

Does anyone know solution? Thanks for your help.

 

Here is my UE4 version in use.

Project version : ue4-oculus-4.27.2-1.70.0-v38.0 

 

ps. I found log output from saved log file


[2022.04.25-03.05.23:204][452]LogWindows: Error: === Critical error: ===
[2022.04.25-03.05.23:204][452]LogWindows: Error:
[2022.04.25-03.05.23:204][452]LogWindows: Error: Fatal error: [File:C:/UE4oculus427/Engine/Source/Runtime/RenderCore/Private/RenderingThread.cpp] [Line: 902]
[2022.04.25-03.05.23:204][452]LogWindows: Error: Rendering thread exception:
[2022.04.25-03.05.23:204][452]LogWindows: Error: Assertion failed: IsValid() [File:C:\UE4oculus427\Engine\Source\Runtime\Core\Public\Templates/SharedPointer.h] [Line: 890]
[2022.04.25-03.05.23:204][452]LogWindows: Error:
[2022.04.25-03.05.23:204][452]LogWindows: Error:
[2022.04.25-03.05.23:204][452]LogWindows: Error:
[2022.04.25-03.05.23:204][452]LogWindows: Error: [Callstack] 0x00007ff9e3d54f69 KERNELBASE.dll!UnknownFunction []
[2022.04.25-03.05.23:204][452]LogWindows: Error:
[2022.04.25-03.05.23:204][452]LogWindows: Error:
[2022.04.25-03.05.23:204][452]LogWindows: Error:
[2022.04.25-03.05.23:204][452]LogWindows: Error:
[2022.04.25-03.05.23:258][452]LogExit: Executing StaticShutdownAfterError
[2022.04.25-03.05.23:263][452]LogWindows: FPlatformMisc::RequestExit(1)
[2022.04.25-03.05.23:263][452]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3)
[2022.04.25-03.05.23:263][452]LogCore: Engine exit requested (reason: Win RequestExit)
[2022.04.25-03.05.23:290][452]Log file closed, 04/25/22 12:05:23

1 REPLY 1

CarpetFace
Expert Protege

I don't have any answers for you.  I'm using 4.27 UE4 from Oculus Branch and can do both Play as Client and Standalone fine.  

 

Here are a few troubleshooting ideas if you haven't already tried them.

1. Launch the editor with the debugging attached.  (I've been using Visual Studio 2019).  When the crash happens it should automatically break into the debugger.  Find the callstack view, and the local variables view.  Hunt around for evidence that might give clues as to what went wrong.  If you find it failed doing a task specific to an asset you created, it might be something about that asset that is exposing the problem.

2. Try one of Oculus's sample projects.  If that project has the same problem, then the issue is likely something external to UE4.  I would try updating my graphics driver first in this event.  And if I still can't get traction, might get desperate and try to see if I can find another PC that I can try all of this one to rule out problems specific to your hardware.

3. If Oculus samples work; then try a new project, and try to follow the guide again, but try to play as client right away, if it works, then keep following the tutorial until you find the step that causes it to not work.