Download

Random Error

Hey guys,

I’ve been getting this warning for quite some time and was wondering if there is anything i can do to fix it. Basically my parent component makes a cast to one of its child components and the code works fine but
unreal gives me this warning saying it will always fail (Which is wrong) as you can see in the images the component is a child of the component.

Any help would be appreciated

Thanks

Look into the log, it will tell you whats wrong. Bool is missing, it needs to know what it should to do when it’s successful done.
If might also be that “Cast to player” isn’t needed.

All the log says is that the component i am casting to is not a child of this component, but it is this also happens if i use a not pure cast.