Advanced Sessions Plugin

Thanks for the hard work !

I’m working on releasing an example project.

Any ideas why FindFriendSession causes a crash when searching the UniqueNetID of a player who is on the main screen? (No CreateAdvancedSessions started.) It doesn’t crash if the players are playing the game.

[QUOTE]
[2016.06.21-05.50.12:351] 50]LogBlueprintUserMessages: [MainMenu_C_0] [MAIN MENU ]Active widget index is 1
[2016.06.21-05.50.13:688] 81]LogBlueprintUserMessages: [PlayGameSubMenu] [SETTINGS SUBMENU] Active widget index is 4
[2016.06.21-05.50.18:933][196]LogBlueprintUserMessages: [FriendsList] BuildID: 961667077
[2016.06.21-05.50.18:934][196]AdvancedFindFriendSessionLog:Warning: FindFriendSession Failed
[2016.06.21-05.50.18:968][196]LogBlueprintUserMessages: [FriendsList] FriendFailed: splinter
[2016.06.21-05.50.19:422][207]AdvancedFindFriendSessionLog:Warning: FindFriendSession Failed
[2016.06.21-05.50.19:423][207]LogBlueprintUserMessages: [FriendsList] FriendFailed: Vii
[2016.06.21-05.50.19:938][218]AdvancedFindFriendSessionLog:Warning: FindFriendSession Failed
[2016.06.21-05.50.19:939][218]LogBlueprintUserMessages: [FriendsList] FriendFailed: ¤CvG¤™Trothgar
[2016.06.21-05.50.20:491][230]AdvancedFindFriendSessionLog:Warning: FindFriendSession Failed
[2016.06.21-05.50.20:492][230]LogBlueprintUserMessages: [FriendsList] FriendFailed: AidanZon
[2016.06.21-05.50.20:994][241]AdvancedFindFriendSessionLog:Warning: FindFriendSession Failed
[2016.06.21-05.50.20:995][241]LogBlueprintUserMessages: [FriendsList] FriendFailed: darthgraygor
[2016.06.21-05.50.21:501][252]AdvancedFindFriendSessionLog:Warning: FindFriendSession Failed
[2016.06.21-05.50.21:503][252]LogBlueprintUserMessages: [FriendsList] FriendFailed: Reptar
[2016.06.21-05.50.22:002][263]AdvancedFindFriendSessionLog:Warning: FindFriendSession Failed
[2016.06.21-05.50.22:003][263]LogBlueprintUserMessages: [FriendsList] FriendFailed: Desperado
[2016.06.21-05.50.22:522][274]AdvancedFindFriendSessionLog:Warning: FindFriendSession Failed
[2016.06.21-05.50.22:556][274]LogMemory:Warning: Freeing 33554432 bytes from backup pool to handle out of memory.
[2016.06.21-05.50.22:556][274]LogMemory:Warning: MemoryStats:
AvailablePhysical 7933440000
AvailableVirtual 140735600828416
UsedPhysical 835244032
PeakUsedPhysical 897642496
UsedVirtual 1049387008
PeakUsedVirtual 1137192960
[2016.06.21-05.50.22:556][274]LogBlueprintUserMessages: [FriendsList] FriendFailed: metahusk
[2016.06.21-05.50.22:557][274]LogWindows:Error: Windows GetLastError: The operation completed successfully. (0)
[2016.06.21-05.50.23:009][281]LogThreadingWindows:Error: Runnable thread OnlineAsyncTaskThreadSteam DefaultInstance crashed.
[2016.06.21-05.50.23:009][281]LogWindows:Error: === Critical error: ===
Fatal error: [File:D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 139]
Ran out of memory allocating 18446744066972348008 bytes with alignment 0

Crash in runnable thread OnlineAsyncTaskThreadSteam DefaultInstance

The crash only happens when a player is in the main menu and that player UniqueNetID is called by FindFriendSession. If the player is in the game it doesn’t cause an issue.

I’ve tried three different systems and both in-editor and built copies. Mismatched BuildID’s? I wonder why would it only happen in the main menu. (Where no session has been created yet.) I’ve tried a lot of things before taking your time. I’m not sure if it’s a bug.

That last friend “metahusk” is the Steam user that is sitting on the main menu.

Thanks!

edit: I built a new copy of the game. The built copies that match won’t crash on FindFriendSession hitting a Steam user sitting on the main menu but if I open the in editor Standalone Game it does crash.

1 Like