# "Get all actors of class" node output is an array of (actor) references, and cannot be connected to standard actor arrays

**URL:** <https://forums.unrealengine.com/t/get-all-actors-of-class-node-output-is-an-array-of-actor-references-and-cannot-be-connected-to-standard-actor-arrays/323556>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, editor, question, Blueprint\
**Created:** [June 30, 2015, 2:30pm UTC](https://forums.unrealengine.com/t/get-all-actors-of-class-node-output-is-an-array-of-actor-references-and-cannot-be-connected-to-standard-actor-arrays/323556 "2015-06-30T14:30:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f89beac21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f89beac21](https://forums.unrealengine.com/u/anonymous_user_f89beac21)\
**Post date:** [June 30, 2015, 2:30pm UTC](https://forums.unrealengine.com/t/get-all-actors-of-class-node-output-is-an-array-of-actor-references-and-cannot-be-connected-to-standard-actor-arrays/323556/1 "2015-06-30T14:30:47Z")

</div>

![48486-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/1/6313b2401243cfed70037a9539901c9432c9e50a.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f89beac21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f89beac21](https://forums.unrealengine.com/u/anonymous_user_f89beac21)\
**Post date:** [June 30, 2015, 2:32pm UTC](https://forums.unrealengine.com/t/get-all-actors-of-class-node-output-is-an-array-of-actor-references-and-cannot-be-connected-to-standard-actor-arrays/323556/2 "2015-06-30T14:32:21Z")

</div>

as in the image, the output of the “Get all actors of class” is an array of nail references, not an array of actors or actor references. the bottom input of the “contains” is an actor, and the entire blueprint works as-is, but only with the workaround. if you put “none” in the actor classes slot , it allows you to connect everything up. but if you put in your actor class before connections are made, it will say that the nail references are not compatible as actors. what i have been doing is connecting first, and then defining my actor class. it gives me a warning, but everything works fine. I want epic to correct this by making the output of the “get all actors of class”, when filled in, compatible with sets of standard actors or actor references.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [June 30, 2015, 5:42pm UTC](https://forums.unrealengine.com/t/get-all-actors-of-class-node-output-is-an-array-of-actor-references-and-cannot-be-connected-to-standard-actor-arrays/323556/3 "2015-06-30T17:42:10Z")

</div>

Hi alx0427,

What is the variable that you are checking to see if the array contains? Additionally, how are you populating that variable? If it is of a type that is not the same type as “Get All Actors of Class”, it may be causing the warning. I attempted this on my end and did not see this occur.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f89beac21](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f89beac21](https://forums.unrealengine.com/u/anonymous_user_f89beac21)\
**Post date:** [June 30, 2015, 9:12pm UTC](https://forums.unrealengine.com/t/get-all-actors-of-class-node-output-is-an-array-of-actor-references-and-cannot-be-connected-to-standard-actor-arrays/323556/4 "2015-06-30T21:12:51Z")

</div>

You must restart the editor for it to throw the warning. The data I’m using is “hit actor” from the break of a line trace

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [July 1, 2015, 7:19pm UTC](https://forums.unrealengine.com/t/get-all-actors-of-class-node-output-is-an-array-of-actor-references-and-cannot-be-connected-to-standard-actor-arrays/323556/5 "2015-07-01T19:19:25Z")

</div>

Hi alx0427,

I was able to reproduce this and have entered a bug report, UE-18066, to be assessed by the development staff.
