Child Actor Component references are not sent to the Server through a Run on Server RPC.
Test project attached.
Reproduced in 4.9.2 binary and Main (CL# 2758903).
1. Open the attached project
2. PIE with 2 players
3. On the Client, click the Client Pawn (the cube)
4. On the Client, click the Server Pawn (the cube)
5. On the Client, click the Client Pawn's Child Actor Component (the cylinder)
6. On the Client, click the Server Pawn's Child Actor Component (the cylinder)
Result:
Both the Pawn references print the Display Name. The Server Pawn's Child Actor Component reference is printed. The Client Pawn's Child Actor Component reference is none. Note: sometime PIE sessions, the Server Pawn's Child Actor Component reference is also none. No clear difference between when it works and when it does not.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Networking |
---|---|
Affects Versions | 4.9.2, 4.11 |
Created | Nov 9, 2015 |
---|---|
Resolved | Apr 26, 2016 |
Updated | Jul 14, 2021 |