# Table variable bug

**URL:** <https://forums.unrealengine.com/t/table-variable-bug/385572>\
**Category:** Editor Scripting\
**Tags:** Variable, table, unreal-engine, bug-report, question\
**Created:** [February 21, 2017, 1:38am UTC](https://forums.unrealengine.com/t/table-variable-bug/385572 "2017-02-21T01:38:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GamesByHyper\_Eric](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamesbyhyper_eric/32/709237_2.png) [@GamesByHyper\_Eric](https://forums.unrealengine.com/u/GamesByHyper_Eric)\
**Post date:** [February 21, 2017, 1:38am UTC](https://forums.unrealengine.com/t/table-variable-bug/385572/1 "2017-02-21T01:38:57Z")

</div>

Hi there!

Since version 4.15 a table variable is supported, however at the data table row it still says “only literal data table is supported”. I suspect this was not intentional. At other table functions it actually works. Please refer to the screenshot for an example.

With the kindest regards,

ERuts

 ![127070-literal+table.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/a/7aa2a60d8b123f01f45a1f30dc498d1deb0b57bf.png)

---

<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:** [February 22, 2017, 7:57pm UTC](https://forums.unrealengine.com/t/table-variable-bug/385572/2 "2017-02-22T19:57:29Z")

</div>

Hi ERuts,

This is by design. The GetDataTableRow by default still needs a literal value. You can drag off of the DataTable variable and get a GetDataTableRow of the type you need.

![127333-datatable01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/f/b/2fb8e4512b7a627ba720e6c7b1403122b0f75062.png)

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![JoeWintergreen](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/joewintergreen/32/1194565_2.png) [@JoeWintergreen](https://forums.unrealengine.com/u/JoeWintergreen)\
**Post date:** [March 2, 2017, 12:57am UTC](https://forums.unrealengine.com/t/table-variable-bug/385572/3 "2017-03-02T00:57:30Z")

</div>

I’m having trouble seeing how that is useful. Is there still no way to get pull data out of a data table variable?

The only thing you can drag off of a data table variable to get is an array of row names (which is what you screenshotted, but not what you described). There’s then no way to get the data for that row.

---

<div class="post-metadata">

**Author:** ![GamesByHyper\_Eric](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gamesbyhyper_eric/32/709237_2.png) [@GamesByHyper\_Eric](https://forums.unrealengine.com/u/GamesByHyper_Eric)\
**Post date:** [March 2, 2017, 9:14am UTC](https://forums.unrealengine.com/t/table-variable-bug/385572/4 "2017-03-02T09:14:24Z")

</div>

Same here.

---

<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:** [March 14, 2017, 3:22pm UTC](https://forums.unrealengine.com/t/table-variable-bug/385572/5 "2017-03-14T15:22:21Z")

</div>

Hey guys,

I spoke with the devs that implemented this and all that was changed is DataTable was exposed. That was it. So the GetDataTableRow still needs to know the output row type at compile. If it accepted a variable, the underlying row might not match the out row type and then crash.
