Blueprint class doesn't appear in search list

I’m trying to add a blueprint class to an array. The blueprint in question is named Unit_Defend. However, from the dropdown menu for the array index, these are the only choices I have:

Note that Unit_Defend isn’t an option. Here are the class options for Unit_Defend, for reference:

It’s an inherited class, with identical settings to its parent besides name and description.

So why can’t I search for it? Help would be appreciated.

1 Like

What is the type of the array? Actor reference would be good, then you can add many more types.

The array type is pawn reference as opposed to actor reference because I need them to spawn with their AI activated and SpawnAIFromClass() only takes pawn. I previously did Actor reference, although looking at the list of actor classes, Unit_Defend doesn’t show up there either?

1 Like

If unit_defend is an actor class ( or one the derives from Actor ), then it will show in an array of actor references.

It doesn’t need to be of type pawn to spawn pawns. The spawn call is specifically for actors :slight_smile:

I’m assuming this is a actor blueprint ( you’re doing the search in ) and not a utility widget or something like that?

1 Like

The blueprints are PaperCharacters. I’m not sure if that’s derived from Actor or Pawn. Regardless, you are correct that it should show up in an array of actor references (alongside the class it’s inherited from, which DOES show up). Why it’s not is genuinely baffling me.

1 Like