4.12.5 /SteamVR Crash Packaged Build

4.12.5. Blueprint only project.

Dev and Shipping run fine when SteamVR/ not activated.

Running VR from editor works fine. Game packages fine.

Upload shipping or dev build to Steam, run via steam with SteamVR/ active, game immediately crashes. No information in the log. Any ideas? I am blocked on this and am ready to update the game with VR support if I can fix this crash.

Here is the log from a development build:

Log file open, 08/05/16 19:36:54
LogInit:Display: Running engine for game: BlindHotel
LogInit:Display: Project file not found: ../../../BlindHotel/BlindHotel.uproject
LogInit:Display: 	Attempting to find via project info helper.
LogUProjectInfo: Found projects:
LogPlatformFile: Not using cached read wrapper
LogInit:Display: RandInit(1007096569) SRandInit(1007096571).
LogTaskGraph: Started task graph with 4 named threads and 7 total threads with 1 sets of task threads.
LogStats: Stats thread started at 0.682043
LogInit: Version: 4.12.5-3039270+++UE4+Release-4.12
LogInit: API Version: 2992821
LogInit: Net Version: 3039270
LogDevObjectVersion: Number of dev versions registered: 13
LogDevObjectVersion:   Dev-Blueprints (B0D832E4-1F89-4F0D-ACCF-7EB736FD4AA2): 3
LogDevObjectVersion:   Dev-Build (E1C64328-A22C-4D53-A36C-8E866417BD8C): 0
LogDevObjectVersion:   Dev-Core (375EC13C-06E4-48FB-B500-84F0262A717E): 1
LogDevObjectVersion:   Dev-Editor (E4B068ED-F494-42E9-A231-DA0B2E46BB41): 2
LogDevObjectVersion:   Dev-Framework (CFFC743F-43B0-4480-9391-14DF171D2073): 6
LogDevObjectVersion:   Dev-Mobile (B02B49B5-BB20-44E9-A304-32B752E40360): 0
LogDevObjectVersion:   Dev-Networking (A4E4105C-59A1-49B5-A7C5-40C4547EDFEE): 0
LogDevObjectVersion:   Dev-Online (39C831C9-5AE6-47DC-9A44-9C173E1C8E7C): 0
LogDevObjectVersion:   Dev-Physics (78F01B33-EBEA-4F98-B9B4-84EACCB95AA2): 0
LogDevObjectVersion:   Dev-Platform (6631380F-2D4D-43E0-8009-CF276956A95A): 0
LogDevObjectVersion:   Dev-Rendering (12F88B9F-8875-4AFC-A67C-D90C383ABD29): 2
LogDevObjectVersion:   Dev-Sequencer (7B5AE74C-D270-4C10-A958-57980B212A5A): 0
LogDevObjectVersion:   Dev-VR (D7296918-1DD6-4BDD-9DE2-64A83CC13884): 0
LogInit: Compiled (64-bit): Jul  6 2016 09:06:15
LogInit: Compiled with Visual C++: 19.00.23026.00
LogInit: Build Configuration: Development
LogInit: Branch Name: ++UE4+Release-4.12
LogInit: Command line: 
LogInit: Base directory: C:/Program Files (x86)/Steam/steamapps/common/Hotel Blind/BlindHotel/Binaries/Win64/
LogInit: Installed Engine Build: 0
LogInit: Using libcurl 7.41.0
LogInit:  - built for x86_64-pc-win32
LogInit:  - supports SSL with WinSSL
LogInit:  - other features:
LogInit:      CURL_VERSION_SSL
LogInit:      CURL_VERSION_IPV6
LogInit:      CURL_VERSION_ASYNCHDNS
LogInit:      CURL_VERSION_LARGEFILE
LogInit:      CURL_VERSION_IDN
LogInit:  CurlRequestOptions (configurable via config and command line):
LogInit:  - bVerifyPeer = true  - Libcurl will verify peer certificate
LogInit:  - bUseHttpProxy = false  - Libcurl will NOT use HTTP proxy
LogInit:  - bDontReuseConnections = false  - Libcurl will reuse connections
LogInit:  - CertBundlePath = nullptr  - Libcurl will use whatever was configured at build time.
LogOnline:Display: STEAM: Loading Steam SDK 1.32
LogInit: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
LogInit: Presizing for max 2097152 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.
LogInit: Object subsystem initialized
[2016.08.06-02.36.55:080][  0]LogModuleManager:Warning: ModuleManager: Module 'ExampleDeviceProfileSelector' not found - its StaticallyLinkedModuleInitializers function is null.
[2016.08.06-02.36.55:080][  0]LogInit: Applying CVar settings loaded from the selected device profile: [WindowsNoEditor]
[2016.08.06-02.36.55:088][  0]LogInit: Computer: ENGINEER-PC
[2016.08.06-02.36.55:088][  0]LogInit: User: JorgeJ
[2016.08.06-02.36.55:088][  0]LogInit: CPU Page size=65536, Cores=4
[2016.08.06-02.36.55:088][  0]LogInit: High frequency timer resolution =3.517786 MHz
[2016.08.06-02.36.55:089][  0]LogMemory: Memory total: Physical=31.9GB (32GB approx)
[2016.08.06-02.36.55:089][  0]LogMemory: Platform Memory Stats for WindowsNoEditor
[2016.08.06-02.36.55:089][  0]LogMemory: Process Physical Memory: 105.68 MB used, 105.68 MB peak
[2016.08.06-02.36.55:089][  0]LogMemory: Process Virtual Memory: 103.58 MB used, 103.58 MB peak
[2016.08.06-02.36.55:089][  0]LogMemory: Physical Memory: 8057.22 MB used, 32711.48 MB total
[2016

Because this may possibly be a defect with the engine, I have moved this into the Bug Reports section for further investigation. We will follow up as soon as possible.

Hello ,

I have a couple of questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?

,

I would not know how to repro on a clean project, since I would need to create a new Steam App ID to test.

My steps are/

  1. Run SteamVR (Beta)
  2. Run Epic Launcher 4.12.5
  3. Open project file 4.12
  4. Run VR Preview, see game runs fine, activates VR-specific scripting
  5. Package build (dev or shipping)
  6. Run Steam content uploader
  7. Make build live on Steam Beta
  8. Update project Steam files
  9. disable SteamVR
  10. run game via Steam, note game runs fine
  11. enable SteamVR
  12. run game via Steam, note game immediately crashes
  13. Beat head against desk

I can hightail you a copy of the project, or I could give you a beta code for the Steam App.

This is blocking me from launching support on Steam, and was supposed to launch two weeks ago. I have press articles holding on this release. Dealing with it is also blocking my work on onther UE4 game, Epsilon. Any help would be appreciated.

Also, I would have no idea how to repro on a clean build. I just put in a bunch of bools that activate based on whether headsets are active to enable the VR specific UI and controls.

Hello ,

Does this issue occur if you package the for Windows with the development configuration?

Yes. Both development ad shipping.

I should clarify, what I meant was, does this issue occur if you simply package the game out and run it without uploading it to steam? If so, could you try this with a blank project and let me know if this crashes as well?

When I run the build not through steam, with the -fullscreen command line argument, the game runs, but does not activate the HMD - related scripting (turning off UMG, etc.

Hello ,

You will need to use the Stereo on, in order to enter VR mode. The fullscreen command will no longer work in the new versions of the engine.

Thanks, I opened the game standalone, and ran the stereo on console command. The game did switch to and did not crash. I can’t really test much because all of my VR-activation is triggered on startup to swap into “VR mode”. But I do not get a crash. I’ll attach the log.

Note: The log will show a crash, that happened when I attempted to ctrl-alt-dlt to close the program.link text

Hello ,

I have been unable to reproduce this issue on our end. Could you provide a zipped down copy of your project so that I could take a closer look? If you would like to provide it privately, you could do so via a private message on the forums. You can provide the project via drop box or google drive.

Will do thank you.

Hello ,

After testing what was provided in the private message, I was unable to get the packaged version of the project to crash on my end. However, it appears that I was only given the packaged version of the game and not the full project. This means that I cannot perform further tests with the assets provided.

Would it be possible for you to provide the complete project?

Yes, will PM a link shortly. Thanks for your help!

Hello ,

I took a look at your project, I was unable to get the crash that you are reporting. However, I made a couple of changes for testing that evolved setting the game to windowed mode and turning stereo on. After this the project appears to work fine after packaging out. Could you try something similar to the example I have given below and let me know if your issue still occurs? If this does not help with your issue, could you provide a detailed set of steps to get this project to crash?

Changes:

Thanks, I added the nodes you suggested (attached), and are still crashing. I did resolve my HMD Enabled bool not returning true at beginplay by adding a delay, so now the crash is consistent when running through steam or not running through steam.

To repro, here are my steps to repro:

  1. Package development build
  2. Start SteamVR (Beta). Ensure is tracking and responding.
  3. Start Game
  4. Observe Immediate crash to destop

To repro not crashing:

  1. Package Development build
  2. Ensure SteamVR is not running
  3. Start Game.
  4. Observe Game runs and “HMD NOT DETECTED” debug text is displayed

[link text][2]log attached

Also, here is my output log from the editor while running preview in VR mode, runs fine and I don’t see any errors that would clue me in to a crash.link text

I tested the issue again with the steps provided. However, it did not crash on my end. What OS are you currently running on the machine that you are using?

I am running WIN 10