# New to 4.8, BP TArray support limited types

**URL:** <https://forums.unrealengine.com/t/new-to-4-8-bp-tarray-support-limited-types/321920>\
**Category:** Blueprint\
**Tags:** tarray, Data-Types, unreal-engine, UE4, CPP, Blueprint, question\
**Created:** [June 15, 2015, 8:41pm UTC](https://forums.unrealengine.com/t/new-to-4-8-bp-tarray-support-limited-types/321920 "2015-06-15T20:41:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_61cf48131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61cf48131](https://forums.unrealengine.com/u/anonymous_user_61cf48131)\
**Post date:** [June 15, 2015, 8:41pm UTC](https://forums.unrealengine.com/t/new-to-4-8-bp-tarray-support-limited-types/321920/1 "2015-06-15T20:41:39Z")

</div>

I have a bunch of functions for communicating with a data server and are declared as follows:

```
UFUNCTION(BlueprintCallable, Category = LSL)
void PushSampleFloat(TArray<float> data);

```

This builds fine for float, int32, and FString. This does not build with double or int16. When using double or int16, the build error returned is misleading:

> Type ‘TArray’ is not supported by blueprint

In 4.7.6, I never tested anything except float, but I was able to build with the other types coded in. I don’t need a fix, I can get by with the types that do work, but it would be nice if the build error was more accurate. I spent a few minutes worried that TArrays were somehow no longer allowed in BPs before I realized that some of my other functions did not generate errors and therefore it must be the datatype in the array.

---

<div class="post-metadata">

**Author:** ![ScottSpadea](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/scottspadea/32/1194682_2.png) [@ScottSpadea](https://forums.unrealengine.com/u/ScottSpadea)\
**Post date:** [June 15, 2015, 9:19pm UTC](https://forums.unrealengine.com/t/new-to-4-8-bp-tarray-support-limited-types/321920/2 "2015-06-15T21:19:38Z")

</div>

that is a bit misleading, but double and int16 are not supported by blueprint.

if you want a number that works in blueprint, it has to be one of the following:

```
int32 MyInteger;
uint8 MyByte;
uint32 MyBoolBitField : 1;
float MyFloat;
```

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_61cf48131](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_61cf48131](https://forums.unrealengine.com/u/anonymous_user_61cf48131)\
**Post date:** [June 15, 2015, 9:41pm UTC](https://forums.unrealengine.com/t/new-to-4-8-bp-tarray-support-limited-types/321920/3 "2015-06-15T21:41:57Z")

</div>

Thank you. I can get by with those. Given that the exact same code could build in 4.7.6, I was just worried for a bit when I saw that error. If it weren’t for the fact that some of my other very similar function declarations did not generate the error then I would have probably spent a long time figuring out why I couldn’t use TArrays.

---

<div class="post-metadata">

**Author:** ![janimationd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@janimationd](https://forums.unrealengine.com/u/janimationd)\
**Post date:** [August 11, 2015, 8:19pm UTC](https://forums.unrealengine.com/t/new-to-4-8-bp-tarray-support-limited-types/321920/4 "2015-08-11T20:19:24Z")

</div>

uint32 doesn’t work either
