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.
@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.
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.
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.
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.
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
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.