On UE 4.27 ReadInAppPurchaseInformation2 doesn’t work.
Engine\Plugins\Online\OnlineSubsystemUtils\Source\OnlineSubsystemUtils\Private\InAppPurchaseQueryCallbackProxy2.cpp
I found the UInAppPurchaseQueryCallbackProxy2::TriggerQuery() function has modified.
FUniqueNetIdRepl QueryingPlayer = PlayerController->GetLocalPlayer()->GetUniqueNetIdFromCachedControllerId();
if (QueryingPlayer.IsValid()) <<- this line uncommented on 4.27
I have two questions.
- Why the GetUniqueNetIdFromCachedControllerId() returns invalid QueryingPlayer.
- How can I make it valid.
Help me plz.