We don't call OnRep_Controller after it's set to null in AController::OnRep_Pawn, so overridden implementations won't get called.
While it's a little weird to call OnReps explicitly on the client outside of the actual replication system, there is some precedent in other parts of the pawn/controller/possession logic, like in APlayerController::ClientRetryClientRestart_Implementation and AController::SetPawnFromRep.
Need to evaluate whether this suggestion is the right path forward.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-78453 in the post.
10 |
Component | UE - Networking |
---|---|
Affects Versions | 4.23, 4.22.0 |
Created | Aug 6, 2019 |
---|---|
Resolved | Aug 27, 2021 |
Updated | Aug 27, 2021 |