im building a multiplier game that does most of logic on host side, for example getting hit.
i have this problem, when the host is far and is looking away from client, the client doesnt receive the hit, but when host is looking or close, the hit succeed.
can you you help me with this issue.
note, occlusion culling is turned off in project settings.
sword has a box collision that looks for pawn (overlap) and use get overlapping actors node to get the hit player.
Try setting the Tick When Offscreen flag on the enemy mesh component.
I assume that the hit animation is not played on the server when the player server does not see the enemy model, therefore the box does not touch the character, therefore the damage is not counted.