Description

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.

Have Comments or More Details?

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

10
Login to Vote

Won't Fix
ComponentUE - Networking
Affects Versions4.234.22.0
CreatedAug 6, 2019
ResolvedAug 27, 2021
UpdatedAug 27, 2021
View Jira Issue