# Encounter frequent crash for our VR project, assertion failed: key isValid()

**URL:** <https://forums.unrealengine.com/t/encounter-frequent-crash-for-our-vr-project-assertion-failed-key-isvalid/445055>\
**Category:** XR Development\
**Tags:** failing, unreal-engine, crash, UE4, question, key-bind\
**Created:** [March 11, 2019, 8:33am UTC](https://forums.unrealengine.com/t/encounter-frequent-crash-for-our-vr-project-assertion-failed-key-isvalid/445055 "2019-03-11T08:33:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![htao31](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@htao31](https://forums.unrealengine.com/u/htao31)\
**Post date:** [March 11, 2019, 8:33am UTC](https://forums.unrealengine.com/t/encounter-frequent-crash-for-our-vr-project-assertion-failed-key-isvalid/445055/1 "2019-03-11T08:33:38Z")

</div>

We made a VR project linked with steamVR and HTC VIVE pro, and having very frequent crash issue. The project is fine when opening without VR, but it will frequently crash when opening with VR device linked. When crashing, it will report : Assertion failed: key isValid() [File:E:\projectname\UnrealEngine\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp][Line:6291]

We are using steamVR 1.2.10, HTC VIVE pro, and Orion for tracking movement. We tried with OpenVR v1\_0\_10 and v1\_0\_16, but they all get the same problem.  
The error is random happened, sometimes we can have our vr working fine, but other time it just crash when opening with vr.  
Is there anyone has any idea about how to fix it? Thanks.

---

<div class="post-metadata">

**Author:** ![Vanreus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vanreus](https://forums.unrealengine.com/u/Vanreus)\
**Post date:** [December 29, 2020, 2:12pm UTC](https://forums.unrealengine.com/t/encounter-frequent-crash-for-our-vr-project-assertion-failed-key-isvalid/445055/2 "2020-12-29T14:12:22Z")

</div>

Hey, any updates since then?

---

<div class="post-metadata">

**Author:** ![Mattk50](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattk50](https://forums.unrealengine.com/u/Mattk50)\
**Post date:** [January 2, 2021, 4:28pm UTC](https://forums.unrealengine.com/t/encounter-frequent-crash-for-our-vr-project-assertion-failed-key-isvalid/445055/3 "2021-01-02T16:28:52Z")

</div>

Having the same issue, would like to know if you found a solution. Happens in 4.24

---

<div class="post-metadata">

**Author:** ![jwstephe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jwstephe](https://forums.unrealengine.com/u/jwstephe)\
**Post date:** [January 14, 2021, 11:16pm UTC](https://forums.unrealengine.com/t/encounter-frequent-crash-for-our-vr-project-assertion-failed-key-isvalid/445055/4 "2021-01-14T23:16:52Z")

</div>

The solution in this post worked for me. [https://answers.unrealengine.com/questions/971201/ue-4251-crash-on-motion-controller-press.html](https://answers.unrealengine.com/questions/971201/ue-4251-crash-on-motion-controller-press.html). I actually ended up replacing the Defaultinput.ini with the one from a newly created VR Blueprint project of the appropriate version (4.26 for me).
