# (Unity playeverywhere EOS UPM plugin) How to get a callback from the EOS API when loss of connection detected (e.g. after LAN cable pull)? 

**URL:** <https://forums.unrealengine.com/t/unity-playeverywhere-eos-upm-plugin-how-to-get-a-callback-from-the-eos-api-when-loss-of-connection-detected-e-g-after-lan-cable-pull/2858433>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [January 16, 2026, 4:48pm UTC](https://forums.unrealengine.com/t/unity-playeverywhere-eos-upm-plugin-how-to-get-a-callback-from-the-eos-api-when-loss-of-connection-detected-e-g-after-lan-cable-pull/2858433 "2026-01-16T16:48:35Z")\
**Posts on this page:** 6\
**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:** [January 16, 2026, 4:48pm UTC](https://forums.unrealengine.com/t/unity-playeverywhere-eos-upm-plugin-how-to-get-a-callback-from-the-eos-api-when-loss-of-connection-detected-e-g-after-lan-cable-pull/2858433/1 "2026-01-16T16:48:35Z")

</div>

How do I use the EOS API to detect disconnection from EOS with loss of network connectivity?

If I do the following:

- run one of the samples which comes with the playeverywhere UPM plugin ([https://github.com/EOS-Contrib/eos\_plugin\_for\_unity](https://github.com/EOS-Contrib/eos%5C_plugin%5C_for%5C_unity))
- log in and wait until the log says the sample is properly connected to EOS Connect
- pull the network cable
- (wait approx. 30 seconds
- internal EOS logs start appearing re: failures to re-authorise
  - it retries a bunch of times
  - eventually failing with EOS\_NoConnection

- however, none of the callbacks in the Unity sample seem to fire even after waiting several minutes, and consequently it’s still under the impression that it’s connected to both Connect and Auth

Is there any way to hook into a callback to whatever the EOS API is doing internally to detect the connection failure?

If this happens during gameplay then there’s no way (that I can see) of informing them that they’ve lost their connection to the EOS backend - a situation which will throw up basically the same problems as starting in offline mode, with the additional complication that the player \_was\_ online.

How would you suggest we deal with this?

---

<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:** [January 16, 2026, 5:17pm UTC](https://forums.unrealengine.com/t/unity-playeverywhere-eos-upm-plugin-how-to-get-a-callback-from-the-eos-api-when-loss-of-connection-detected-e-g-after-lan-cable-pull/2858433/2 "2026-01-16T17:17:29Z")

</div>

on the plus side… if I re-plug the network cable after it detects all of this is going on then it quietly reconnects and - assuming this was a transient disconnection - then the user would have been none the wiser 😅

---

<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:** [January 16, 2026, 5:28pm UTC](https://forums.unrealengine.com/t/unity-playeverywhere-eos-upm-plugin-how-to-get-a-callback-from-the-eos-api-when-loss-of-connection-detected-e-g-after-lan-cable-pull/2858433/3 "2026-01-16T17:28:18Z")

</div>

just in case, here’s my log…

> **[UnityEOSAChievementsSampleCablePullEditor.log](https://drive.google.com/file/d/1lkvN8WQhqIR0Nh1KPdcsiLzwgIKjraNl/view?usp=sharing)**
>
> Google Drive file.

---

<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:** [January 20, 2026, 5:43pm UTC](https://forums.unrealengine.com/t/unity-playeverywhere-eos-upm-plugin-how-to-get-a-callback-from-the-eos-api-when-loss-of-connection-detected-e-g-after-lan-cable-pull/2858433/4 "2026-01-20T17:43:26Z")

</div>

[Content removed] Thomas​ (sorry for atting you, I know it’s bad form 😅)

Would very much appreciate an assist on this one.

---

<div class="post-metadata">

**Author:** ![EOSPlugin\_Jeff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EOSPlugin\_Jeff](https://forums.unrealengine.com/u/EOSPlugin_Jeff)\
**Post date:** [January 20, 2026, 11:30pm UTC](https://forums.unrealengine.com/t/unity-playeverywhere-eos-upm-plugin-how-to-get-a-callback-from-the-eos-api-when-loss-of-connection-detected-e-g-after-lan-cable-pull/2858433/5 "2026-01-20T23:30:12Z")

</div>

Hi Alex,

The EOS Plugin currently does not have a callback to hook into for the case you’re describing. I’ll have one of our engineers look into what we can potentially expose or a way you can detect the connection state.

-Jeff

---

<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:** [January 27, 2026, 10:04am UTC](https://forums.unrealengine.com/t/unity-playeverywhere-eos-upm-plugin-how-to-get-a-callback-from-the-eos-api-when-loss-of-connection-detected-e-g-after-lan-cable-pull/2858433/6 "2026-01-27T10:04:06Z")

</div>

thanks Jeff! Appreciated 😃
