Summary
after FOnlineSessionEOS::FindEOSSession succeeds with no sessions found, TriggerOnFindSessionsCompleteDelegates(bWasSuccessful); is triggered without changing SearchSettings->SearchState
(Engine/UE5/Plugins/Online/OnlineSubsystemEOS/Source/OnlineSubsystemEOS/Private/OnlineSessionEOS.cpp:2678)
Same problem will occur after EOS_SessionSearch_CopySearchResultByIndex fail
(Engine/UE5/Plugins/Online/OnlineSubsystemEOS/Source/OnlineSubsystemEOS/Private/OnlineSessionEOS.cpp:2648)
What Type of Bug are you experiencing?
Online
Steps to Reproduce
- Call
UCommonSessionSubsystem::QuickPlaySessionwithbUseLobbiesDefault=false. UCommonSessionSubsystem::OnFindSessionsCompleteis called with success andSearchSettings->SearchState==EOnlineAsyncTaskState::InProgressbeing true.
Expected Result
triggering OnFindSessionsComplete means task is no longer in progress and SearchState should be anything but EOnlineAsyncTaskState::InProgress
Observed Result
OnFindSessionsComplete triggered with SearchState being equal to EOnlineAsyncTaskState::InProgress
Affects Versions
5.8
Platform(s)
Windows