fail to cast to mycharacter in multiplayer client

i have failling to cast to mycharacter in multiplayer client in widget but it works in server
like this pic https://forums.unrealengine.com/attachment.php?attachmentid=31392&d=1427040251

a thread maybe help understand my issue UMG for weaponBP in multi player game - Blueprint - Epic Developer Community Forums

Don’t use event construct cast directly into the binding. I was also facing the same issue

so what should i do?