4.15 CreateSession() return array out of bound.

Dear all,

After we upgraded to UE4.15, the function CreateSession() crashes the engine every time it is called. It always produces “array is out of bound” error. We changed the code to comply with Shooter example and it still crash every time.

Never had any of this problem before 4.15. Anyone has any idea on how this could happen?

Best,

Lord, we found the error.

It seems that 4.15 change the way OnlineSubSystem initialized. So the mOnlineSubSystem.Init() is actually creating a zero length array which caused the error.
By removing mOnlineSubSystem->Init(). Everything is back to normal now.

Thanks for letting us all know @KillerPenguin!

Rama