RPC in a Dynamic Component's BeginPlay causing the client to be kicked out.

Character:

[Image Removed]​

Component:

[Image Removed]​

The details are as follows: after starting the game, the client calls the GM with “testactorcomp,” which triggers CreateTestActorCompInDS on the DS to create a Component and sets its SetIsReplicated(true).

Then, a Server Reliable RPC is called in the Component’s BeginPlay after being synchronized to the client, which triggers the error I initially described.