Restart Player at Transform inside of GameModeBase leaves the character unpossessed when called.

Repro Rate: 4/4

Tested in //UE4/Release-4.27 @ CL#18319896 and the player character successfully respawns, this is a regression.

Steps to Reproduce
  1. Create a new Third Person template Blueprint project
  2. Open the level blueprint
  3. Add a Keyboard Event for Space Bar
  4. Right-Click in the event graph and add a Get Game Mode node
  5. Drag out from the Game Mode return value and place a Restart Player at Transform node
  6. Drag out from the New Player input and place a Get Player Controller node
  7. Right-Click the Spawn Transform input and Promote to Variable
  8. Connect the Pressed execution on the event to Restart Player at Transform execution.
  9. Compile, Save, and Play in Editor.
  10. Verify you can walk around with WASD
  11. Press the Space Bar

Results: User is unable to control the player character, with the character frozen in their last animation state and heading.
Expected: Player character successfully respawns and the user is able to control the restarted player character.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay
Affects Versions5.0
Target Fix5.0.25.1
Fix Commit19810272
Release Commit19810272
CreatedApr 12, 2022
ResolvedApr 19, 2022
UpdatedJan 25, 2023