Problem with switch on enumeration



I have multiple scopes when i equip a scope i am getting the data which scope it was by using enums & when i tried to store it locally or tried to print it shows value none

Is this also none?

Yes it is

1 Like

Ok, so either you’re passing nothing to the cast, or it can’t cast to a BP_Scope_All_In_One.


the cast values is also success

Yes, that’s when you have an Enum, right? :slight_smile:

So it is valid, but the IsValid node thinks it’s not? ( that’s what I see… )

yes that is the issue & I am stuck here for some time

I’m wondering if the reference is pointing to something that’s getting garbage collected.

But… Try this instead

image

and if it still fails, take a look at one of

image

image



Well, after all that, it just looks like the enum isn’t getting set somehow.

I really have no idea, I’m afraid… :melting_face:

Thank you for your assistance and support :slightly_smiling_face:

1 Like