Description

The melee gameplay ability GA_Melee uses a NetMulticast RPC which isn't allowed and causes a blueprint validation error:

GA_Melee.uasset: Gameplay Abilities are not replicated to Simulated Proxies and therefore NetMulticast Function MeleeImpact is meaningless

NetMulticast RPCs on GAs used to work, because abilities UObjects were replicated to all clients but this was unintentional behavior. Nowadays they don't replicate to sim proxies anymore, so the NetMulticast won't work. With the current implementation players can hear their own melee attacks, but not those of other players and bots (unless they are listen server). The hit FX (melee impact sound) should be played in a different way, like GameplayCueNotifies.

Steps to Reproduce
  • Open Lyra Starter Game
  • Open the GA_Melee gameplay ability blueprint
  • Observe it contains a NetMulticast RPC, which won't execute on clients on which the gameplay ability doesn't exist. It will only execute on servers and the autonomous proxy.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-217929 in the post.

2
Login to Vote

Fixed
ComponentUE - Gameplay - Gameplay Ability System
Affects Versions5.45.05.15.25.3
Target Fix5.5
Fix Commit34682784
CreatedJun 13, 2024
ResolvedJun 26, 2024
UpdatedJul 21, 2024
View Jira Issue