# Wrong online subsystem is used, how to change this?

**URL:** <https://forums.unrealengine.com/t/wrong-online-subsystem-is-used-how-to-change-this/741068>\
**Category:** Multiplayer & Networking\
**Tags:** online-subsystem, onlinesubsystem, Networking, unreal-engine, Multiplayer, question\
**Created:** [January 3, 2023, 9:59am UTC](https://forums.unrealengine.com/t/wrong-online-subsystem-is-used-how-to-change-this/741068 "2023-01-03T09:59:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 3, 2023, 9:59am UTC](https://forums.unrealengine.com/t/wrong-online-subsystem-is-used-how-to-change-this/741068/1 "2023-01-03T09:59:16Z")

</div>

Hello, I’m trying to use the Epic Online subsystem, when I set up everything and wanted to create a session or use the overlay, I noticed that does not work.

> IOnlineIdentityPtr Identity = OnlineSubsystem-\>GetIdentityInterface()  
> FString Token = Identity-\>GetAuthToken(0);  
> FText OS = OnlineSubsystem-\>GetOnlineServiceName();  
> FString SOS = OS.ToString();  
> UE\_LOG(LogTemp, Warning, TEXT(“Token: %s”), \*Token);  
> UE\_LOG(LogTemp, Warning, TEXT(“Online Subsystem: %s”), \*SOS);

I tried with this code to find the error and always get in the log the response of the OnlineSubsystemNull (Token: DummyAuthTicket, Online Subsystem: Null). Actually I thought that if I set this code in Config/DefaultEngine.ini, UE will use the correct online subsystem, but apparently not.

> [OnlineSubsystemEOS]  
> bEnabled=true  
> [OnlineSubsystem]  
> DefaultPlatformService=EOS  
> [/Script/Engine.GameEngine]  
> +NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemEOS.NetDriverEOS”,DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)  
> [/Script/OnlineSubsystemEOS.NetDriverEOS]  
> bIsUsingP2PSockets=true

How do I solve this?

---

<div class="post-metadata">

**Author:** ![GarnerP57](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GarnerP57](https://forums.unrealengine.com/u/GarnerP57)\
**Post date:** [January 3, 2023, 10:04pm UTC](https://forums.unrealengine.com/t/wrong-online-subsystem-is-used-how-to-change-this/741068/2 "2023-01-03T22:04:06Z")

</div>

Look through your log for signs of the correct Online Subsystem perhaps attempting to initialize and failing therefore falling back to using the Null system.

---

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 4, 2023, 10:25pm UTC](https://forums.unrealengine.com/t/wrong-online-subsystem-is-used-how-to-change-this/741068/3 "2023-01-04T22:25:23Z")

</div>

Thanks for your help, it helped solving this issue.
