The Role/RemoteRole of net startup actors that get respawned during the replay scrub will be incorrect/swapped during BeginPlay (but not later for any onreps we process).

Steps to Reproduce
  • Make a new blueprint actor. Place it in a test map.
  • In the BeginPlay event, log whether or not the actor is the authority.
  • Add a replicated integer value to the actor and increment it on a timer if server/authority.
  • Play the map in PIE, record a replay (demorec/demostop) and then play it back.
  • Scrub the replay (with the timeline or demo.gototimeinseconds depending on the project).
  • Verify that the authority log is the same (always client, etc) when the replay begins as well as any time you scrub.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Networking
Affects Versions5.0
Target Fix5.0
Fix Commit17495558
CreatedSep 3, 2021
ResolvedSep 13, 2021
UpdatedNov 30, 2021