Client Cast to Child is Failing

I’m in UE5 and I have every weapon as child blueprints. The parent of these is ‘Weapon_Parent’. I need to get some variables, specifically the class, to swap weapons. My code in my character blueprint is shown below. The cast works perfectly for the server but for the client, the cast fails. How can I make it so the Cast Succeeds for server and clients?

The “Weapon Child” variable should be of type Weapon_Parent Obj Reference. I’d rename it to “Weapon” or “Current Weapon” if you have multiple in inventory.

You’d simply down cast to the child class when needed. Which shouldn’t be often if at all if your parent class is set up correctly.

I forgot this post was still up. Thanks for your reply but I changed how the weapon works and now I can get all the vars I need. For reference, my Weapon Child is getting a child component of the character blueprint. I eliminated all the casting necessities reworking it. For the few casts I did need to do I switched to a Blueprint Interface and it solved my issues.