# Crash using "Key" variable in DataTable

**URL:** <https://forums.unrealengine.com/t/crash-using-key-variable-in-datatable/337165>\
**Category:** Community & Industry Discussion\
**Tags:** key, datatable, unreal-engine, crash, question\
**Created:** [November 2, 2015, 5:09am UTC](https://forums.unrealengine.com/t/crash-using-key-variable-in-datatable/337165 "2015-11-02T05:09:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Genova](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Genova](https://forums.unrealengine.com/u/Genova)\
**Post date:** [November 2, 2015, 5:09am UTC](https://forums.unrealengine.com/t/crash-using-key-variable-in-datatable/337165/1 "2015-11-02T05:09:53Z")

</div>

Hello,

I’m getting this crash when using Key variable in DataTable.

I was able to repro it in an empty project :

1. Create a Struct
2. Add a “Key” variable
3. Create a DataTable using that Struct
4. Open DataTable : Crash

---

<div class="post-metadata">

**Author:** ![Genova](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Genova](https://forums.unrealengine.com/u/Genova)\
**Post date:** [November 2, 2015, 5:18am UTC](https://forums.unrealengine.com/t/crash-using-key-variable-in-datatable/337165/2 "2015-11-02T05:18:32Z")

</div>

Just found out the cause, when adding a Key variable, it’s set by default on None, which is the cause of the crash. Setting “Any key” would prevent the crash from happening.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [November 3, 2015, 3:56pm UTC](https://forums.unrealengine.com/t/crash-using-key-variable-in-datatable/337165/3 "2015-11-03T15:56:00Z")

</div>

Hi Genova,

Thank you for the report. I’ve created JIRA UE-22897 and our developers will be investigating the issue further. We will post back here with questions or updates as we have them.

Cheers,

TJ
