Can't use created BP or children in varibale.

I created a BaseBP(pawn) for abilities and created a variable for character from this BaseBP class - Class Reference. Now whenever I select Single or Array I cannot use even the base class or children of this class as default value. The Base class and all children show as options in the drop down menu but once selected the slot remains as none.

Even if I create a brand new BPclass with no code or new name, still just “NewBlueprint” I have the same issue. If i create a variable from this “NewBlueprint” on my Character or BPThirdperson Character the default value will not accept even the parent class and remains as none. I attempted this with other random Bps in the engine and they work just fine and fill the selected slot. But anything I create in the project does not fill the slot. I’ve had similar things happen with Niagara editior, materials, and montages and only since around Late November. There were things I had working and tested so I deselected and changed them only to find if i tried to reselect it, doesn’t fill the slot.

This is weird. If i create a new child BP from parent class by clicking the “+” next to none in default value. I can code and test and it all works perfectly fine. If i try to add the new child class I created to another slot (example: a data table for a shopkeeper under variable of parent class) It will not fill the slot.

Any Ideas on this??

Not gonna lie, I did not understand much. But hear me out, here’s what I got:

  • a parent and child classes:

image

  • if I make an array of parent class type:

I can populate it with both parent and children classes. What am I doing wrong / differently?

@Everynone Sorry for the late response I’ve been caught up with work and honestly a little discouraged. What you’ve done is exactly what I’m attempting. My issue is that when try to populate an array element(index slot), it just remains as none. My Parent and Child Classes show as options but they never fill the slot.

image

I recorded this happening for you. The video doesn’t have so much clutter if you go full screen. In the video I also created a new child class from the index slot. As you can see now i can’t even use that one. I haven’t touched the project since I found that small work around but even that’s no good now. I hope this makes some kind of sense to you.

After selecting from the dropdown, it reverts to None?

  • is the BP compiled?
  • any warning / errors in the log?

Yes everything is compiled and no errors, warnings, or alerts

Just realised what you posted was not a static screenshot… :joy:


Could you create a new array variable of Actor Class Reference type and try to populate it with anything:

Do you get the same behaviour?

When using Actor Class Reference it works fine

From what I’ve been able to gather since November, this is only affecting assets that I create. It even goes over into some material and particle stuff. They, the new assets I create, just refuse to fill their slot once selected from the dropdown.

Just to clarify:

image

If you create any new class inheriting from a native class, does it work OK?

So what’s the gimmick? What’s special about them? Any plugins?

I’ve tried using Pawn and Actor Class and got the same result. And no gimmicks or anything special about them. I’ve been testing with brand new data only blueprints and I haven’t changed a thing in them. That makes me think it could be an engine issue. I also haven’t enabled or disabled any plugins.

I’ve had this working before until the new child classes I was creating stopped working.

I’ve tried using Pawn and Actor Class and got the same result.

These 2 contradict. Could you clarify?


That makes me think it could be an engine issue.

Plausible. What engine version would that be?

The type of Blueprint created. I’ve tried using Actor and I’ve tried using Pawn. 2 separate attempts, 2 different parent classes.

And I am using version 5.2

Could you then clarify what actually worked here?

There is a screenshot attached. That is the variable type. If I were to use Actor class type Instead of the new BP class, I wouldn’t be able to use children of my BP class


What actually worked is we removed the newly created BP class as the array type.

Why not? Don’t they inherit from actor? Not the point here, though.


Anyway. What you’re saying is that this does not work on your end in a clean project in v5.2:

image

I’m merely trying to establish whether it’s an issue with the class that you’re using or it is, indeed, an engine bug. If you cannot achieve the above in a clean project, it might be time to move to v5.3.

I see what you’re saying. If I use Actor as Variable Type everything in the dropdown works except for the new BP and its Child(ren).

And in a clean Project Yes it works. But only for a Short while. This is an issue I’ve run into on 5.3 as well. I cannot find anything wrong with what I’m doing. I rebuilt it from scratch in 5.2 after the issue in 5.3 and checked after every step if to see if I’m breaking it. NO migration or duplicating assets. I got far enough to be able to make about 3 children. I came back the next day and I could not add a 4th.

1 Like

There can’t be anything wrong with the examples I sent today. They are completely default.

1 Like