Description

When starting a PIE instance using the "Selected Viewport" play mode, the ability to start another PIE session is blocked (handled in FInternalPlayWorldCommandCallbacks::PlayInViewport_CanExecute). This check is not present in FInternalPlayWorldCommandCallbacks::PlayInEditorFloating_CanExecute, which allows the user to try to continually start PIE sessions, even if an earlier one started some async task (such as logging into an online service) that it is waiting to complete.

Steps to Reproduce

With PIE logins enabled (Editor Preferences -> Level Editor -> Play Credentials -> Enable Logins), start a PIE instance using the "New Editor Window (PIE)" play mode. While this instance is logging in to the online service (before OnLoginPIEComplete_Deferred has been called), it is possible to press the editor's Play button again.

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Networking
Affects Versions5.1
Target Fix5.5
CreatedFeb 17, 2023
UpdatedFeb 29, 2024