I have followed all the steps in the for using anti cheat in the docs.(https://dev.epicgames.com/docs/game-services/anti-cheat/using-anti-cheat) My server runs just fine, clients can connect, the server can successfully call EOS_AntiCheatServer_BeginSession
and EOS_AntiCheatServer_RegisterClient
returns EOS_Success
.
The only issue I am getting is when I use a dedicated server the client recieves the error LogEOSSDK: Warning: LogEOSAntiCheat: [AntiCheatClient] EOS_AntiCheatClient_BeginSession called with invalid LocalUserId
and when I try to start a session on a listener server I get this error LogEOSSDK: Error: LogEOSAntiCheat: [AntiCheatServer] EOS_AntiCheatServer_BeginSession called with an unauthenticated LocalUserId.
.
Now at first I thought it was just the ID I was giving it, but I checked with the SDK sample project and the LocalUserId used for the sample project (which works perfectly), and my own game ARE THE EXACT SAME. So my question is how is that even possible and how can I fix this?