# \[4.8p2\] SteamVR Plugin Crashes Packaged Build on Launch

**URL:** <https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118>\
**Category:** XR Development\
**Tags:** Steam, packaged-build, unreal-engine, bug-report, question\
**Created:** [May 19, 2015, 1:44pm UTC](https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118 "2015-05-19T13:44:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![druidsbane](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/druidsbane/32/1141411_2.png) [@druidsbane](https://forums.unrealengine.com/u/druidsbane)\
**Post date:** [May 19, 2015, 1:44pm UTC](https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118/1 "2015-05-19T13:44:20Z")

</div>

Creating a packaged build of my project with SteamVR as the only HMD crashes. If I disable SteamVR and package with just the Oculus plugin as the only HMD there is no crash, so it is definitely specific to the SteamVR plugin. I tried starting the packaged project both with and without the HMD connected/turned on. I’m using a DK2 for testing and everything works great in the editor. I’m building from latest GitHub sources as of 20150518’s (yesterday’s) latest checkin.

Unfortunately it didn’t output a stack trace to the log file but only popped it up as a message. I’m typing up the stack trace from a photo in case that helps, but packaging a project as x64 with SteamVR should be enough to test.

```
_delayLoadHelper2()
_tailMerge_steam_api64_dll()
FSteamVRHMD::Startup()
FSteamVRHMD::FSteamVRHMD()
FSteamVRPlugin::CreateHeadMountedDisplay()
UEngine::InitializeHMDDevice()
UEngine::Init()
UGameEngine::Init()
FEngineLoop::Init()
...
...
...
```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 19, 2015, 4:25pm UTC](https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118/2 "2015-05-19T16:25:34Z")

</div>

Hello ,

I was able to reproduce what I believe is the issue that you are seeing. I was not able to get a crash but I was able to get the build to fail by simply packaging with the plugin enabled. I have written up a report ( UE-15827) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. Thank you for your time and information.

Make it a great day

---

<div class="post-metadata">

**Author:** ![druidsbane](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/druidsbane/32/1141411_2.png) [@druidsbane](https://forums.unrealengine.com/u/druidsbane)\
**Post date:** [May 19, 2015, 5:15pm UTC](https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118/3 "2015-05-19T17:15:03Z")

</div>

Did you build from source or use 4.8p2/3? The package failing to build may have been in 4.8p2 as my build was a few commits away from 4.8p3 it may be beyond that and more of an issue starting up. If you attached the pseudo-stack trace above to the issue that might help track it down as well.

Thanks again,  
It IS a great day!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 20, 2015, 3:02pm UTC](https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118/4 "2015-05-20T15:02:46Z")

</div>

Hello ,

Can you reproduce the crash in a clean project? To answer your question, I tried to reproduce this issue in 4.8 preview 3. If you can reproduce this in a clean project could you provide a detailed list of steps in order to reproduce the crash on our end?

---

<div class="post-metadata">

**Author:** ![druidsbane](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/druidsbane/32/1141411_2.png) [@druidsbane](https://forums.unrealengine.com/u/druidsbane)\
**Post date:** [May 20, 2015, 3:07pm UTC](https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118/5 "2015-05-20T15:07:46Z")

</div>

I can try when I get home tonight. In terms of the packaging error, I did find that the first time I package I might get some symbol error during linking and then a second build would succeed. I’m building from sources as my project needs it so I haven’t tried the binary version to see if that makes a difference.

---

<div class="post-metadata">

**Author:** ![druidsbane](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/druidsbane/32/1141411_2.png) [@druidsbane](https://forums.unrealengine.com/u/druidsbane)\
**Post date:** [May 22, 2015, 4:47am UTC](https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118/6 "2015-05-22T04:47:24Z")

</div>

Looks like this bug is fixed with JJ’s latest checking and I can confirm that SteamVR both packages and runs fine for me in a package build.

It was a great day!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 22, 2015, 1:04pm UTC](https://forums.unrealengine.com/t/4-8p2-steamvr-plugin-crashes-packaged-build-on-launch/319118/7 "2015-05-22T13:04:41Z")

</div>

Hello ,

I am happy to hear that you have got everything working. If the problem returns please feel free to reopen this thread and add any additional information.

Make it a great day
