Do your character and weapon-actor replicated?
Try to use LineTrace event as “Run on Server” RELIABLE