From 4.19 to 4.21 - incompatible_unique_net_id

You should not remove the UniqueId, as this might impair other features. Additionally, the crash occurs due to a check that stops the game to prevent inconsistent behavior.

Please review the logs from both the server and the client to identify any other potential issues. In my case, I was missing this configuration on the server:

[/Script/OnlineSubsystemUtils.OnlineEngineInterfaceImpl]
MappedUniqueNetIdTypes=(("EOSPlus","EOS"))

Below is the full configuration of the server’s DefaultEngine.ini, hoping it helps you:

[OnlineSubsystem]
DefaultPlatformService=EOS
NativePlatformService=EOS
PollingIntervalInMs=20

[/Script/OnlineSubsystemUtils.OnlineEngineInterfaceImpl]
+CompatibleUniqueNetIdTypes=EOS
+CompatibleUniqueNetIdTypes=EOSPlus
MappedUniqueNetIdTypes=(("EOSPlus","EOS"))

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemEOS.NetDriverEOS",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[/Script/OnlineSubsystemEOS.EOSSettings]
CacheDir=CacheDir
DefaultArtifactName=BattleHeightsWindowsServer
TickBudgetInMilliseconds=0
bEnableOverlay=True
bEnableSocialOverlay=True
bEnableEditorOverlay=True
;bShouldEnforceBeingLaunchedByEGS=False
TitleStorageReadChunkLength=0
+Artifacts=<Secret...>
+Artifacts=<Secret...>
bUseEAS=True
bUseEOSConnect=True
bMirrorStatsToEOS=False
bMirrorAchievementsToEOS=False
bUseEOSSessions=False
bMirrorPresenceToEAS=False