# FSocketEOS::OnNetworkStatusChanged() crashes when EOS\_ENetworkStatus changes to EOS\_ENetworkStatus::EOS\_NS\_Online. 

**URL:** <https://forums.unrealengine.com/t/fsocketeos-onnetworkstatuschanged-crashes-when-eos-enetworkstatus-changes-to-eos-enetworkstatus-eos-ns-online/2858383>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [September 18, 2025, 8:33pm UTC](https://forums.unrealengine.com/t/fsocketeos-onnetworkstatuschanged-crashes-when-eos-enetworkstatus-changes-to-eos-enetworkstatus-eos-ns-online/2858383 "2025-09-18T20:33:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [September 18, 2025, 8:33pm UTC](https://forums.unrealengine.com/t/fsocketeos-onnetworkstatuschanged-crashes-when-eos-enetworkstatus-changes-to-eos-enetworkstatus-eos-ns-online/2858383/1 "2025-09-18T20:33:25Z")

</div>

Hello. We use Unreal Engine 5.6.1, EOSSDK 1.17.0-41373641.

We create/search/join multiplayer sessions using the CommonUser plugin 1.0.

We’d like to exit to the game’s main menu in case of losing network connection. Unfortunately, it often causes the aforementioned crash when the connection is up again.

The full sequence is:

1. We subscribe to the FCoreDelegates::OnNetworkConnectionStatusChanged delegate.
2. When the network connection fails, a subscriber is called.
3. It does cleanups, calling UCommonUserSubsystem::ResetUserState and UCommonSessionSubsystem::CleanUpSessions
4. Then we return to the main menu calling UGameInstance::ReturnToMainMenu()
5. When the network connection is up again, we get the crash.

I’ve attached the screenshot with the particular code line where the crash occurs.

The problem is easily reproduced on one type of consoles when the game is suspended and then resumed after 1 minute.

And the problem fails console certification, so we really need something to fix it.

Thank you!

 ![068QP00000s490nYAA.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/2/5/a2583e5326a872304295d03748271920e5fa3914.png)

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [September 22, 2025, 5:34pm UTC](https://forums.unrealengine.com/t/fsocketeos-onnetworkstatuschanged-crashes-when-eos-enetworkstatus-changes-to-eos-enetworkstatus-eos-ns-online/2858383/2 "2025-09-22T17:34:39Z")

</div>

This should be fixed with the changes [here](https://github.com/EpicGames/UnrealEngine/commit/8c90d385bbf550724b32101c2ec24d8c81dc4f15).

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [September 23, 2025, 7:56pm UTC](https://forums.unrealengine.com/t/fsocketeos-onnetworkstatuschanged-crashes-when-eos-enetworkstatus-changes-to-eos-enetworkstatus-eos-ns-online/2858383/3 "2025-09-23T19:56:52Z")

</div>

Thank you, we’ll try to make the same changes.
