# Creating an array of classes in BP

**URL:** <https://forums.unrealengine.com/t/creating-an-array-of-classes-in-bp/282850>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [May 8, 2014, 6:48pm UTC](https://forums.unrealengine.com/t/creating-an-array-of-classes-in-bp/282850 "2014-05-08T18:48:59Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Ululator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ululator](https://forums.unrealengine.com/u/Ululator)\
**Post date:** [January 19, 2016, 10:19pm UTC](https://forums.unrealengine.com/t/creating-an-array-of-classes-in-bp/282850/10 "2016-01-19T22:19:55Z")

</div>

Hi TJ,

I can confirm this is still an issue in 4.10.2. Here is a minimal reproduction.

 ![75162-classarrayissue.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/6/fc6f26085c0059f827b17bc09521593389b83125.jpeg)

The issue also applies when you have an array of any object type that contains a ‘class’ as a variable.

If the problem is too complex to fix outright, workarounds could be made by offering nodes that cast ‘classes’ to String and back again. This could also be helpful to people who used enumerators as a workaround, allowing them to cast the enumerator value to a string that they can cast to a class.

---

_[View the full topic](https://forums.unrealengine.com/t/creating-an-array-of-classes-in-bp/282850)._
