When creating a new actor at run-time through code, it's possible for RPC function to be called before the new actor's BeginPlay is called.

Steps to Reproduce
  1. Unzip attached project folder
  2. Open project, and click the drop-down menu next to Play
  3. Set number of players to 2
  4. PIE

Text associated with both BeginPlay and ClientRPC functions will print to the screen for each of the actors. The first time the BeginPlay and ClientRPC functions are called, BeginPlay is listed first. However each time the functions are called after the first time, text associated with ClientRPC is printed first.

BeginPlay called first when a new actor is created

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

Cannot Reproduce
ComponentUE - Networking
Affects Versions4.104.11
CreatedFeb 11, 2016
ResolvedMay 3, 2016
UpdatedJul 14, 2021