UE5 generated character does not execute Event BeginPlay

  • how do you instantiate this BP?
  • how do you test it?

First, spawn the character and gain control in the controller’s BeginPlay. However, if the host creates a session, the generated role will not execute the corresponding BeginPlay after it is generated. But if it is a user who joins the session, BeginPlay will be executed after the controller generates the role.