[Solved] Lyra | Google Play services with EOS Crashed | Publish On Play Store

Namste,

Crashed Result: In Lyra Project when I publish my game with PGS (Play Game Services) i got a Crash Error
IOnlineSubsystem* OnlineSub = Online::GetSubsystem(GetWorld()); check(OnlineSub); here is it This is going to Null and this No solution of it.

How I Solved it: I comment out the Init of CommonSessionSubsystem class function

//FCoreUObjectDelegates::PostLoadMapWithWorld.AddUObject
//(this,UCommonSessionSubsystem::HandlePostLoadMap);
......
void UCommonSessionSubsystem::BindOnlineDelegates()
{
#if COMMONUSER_OSSV1
	//BindOnlineDelegatesOSSv1();
#else
	BindOnlineDelegatesOSSv2();
#endif
}

.....

void UCommonSessionSubsystem::CleanUpSessions()
{
	bWantToDestroyPendingSession = true;
	HostSettings.Reset();
	NotifySessionInformationUpdated(ECommonSessionInformationState::OutOfGame);
#if COMMONUSER_OSSV1
	//CleanUpSessionsOSSv1();
#else
	CleanUpSessionsOSSv2();
#endif // COMMONUSER_OSSV1
}

..\LyraGame\Plugins\CommonUser\Source\CommonUser\Private

Above code I comment out to these can not create any session because my game is Offline.
CommonSessionSubsystem.cpp (52.9 KB)

You need to setup basic Google Play service setup
AndroidEngine.ini (2.2 KB)

Mobile Development Docs

Thank You!!