Created SDK Client in Unreal and can't connect to own SDK Server on localhost

Hello,

I am currently trying to integrate TeamSpeak into my Unreal Engine game and I set up the SDK as instructed. I also created a SDK server instance and it runs fine on localhost:9987.

I keep getting the error “failed connection initialization”. Below you can see my “startconnection” blueprint function. I initialized the Channel Array to “NULL” and I have all of the other details matching my server implementation.

Hello,
can you check if our sdk client example has the same issue ?
If not, we’ll investigate further what it could be.

Note: The example server is listenting on 0.0.0.0

Server lib version: 3.3.1 [Build: 1675944225] SDK
Read keypair 'MG4DAgeAAgEgAiEAvemzGwJF4+W1sr+gNf3gGhxzJaxwRLFWX4vU39+fHYoCICXMWDFAA7nxsxB/7xQHZoAiGS3GbNaho4c3t0EToWhhAiAbal4gq14ZFYMk1mnXkSd0GWKc5C+6QK0DmxY0up9LJg==' from file 'keypair_9987.txt'.
Create virtual server using keypair 'MG4DAgeAAgEgAiEAvemzGwJF4+W1sr+gNf3gGhxzJaxwRLFWX4vU39+fHYoCICXMWDFAA7nxsxB/7xQHZoAiGS3GbNaho4c3t0EToWhhAiAbal4gq14ZFYMk1mnXkSd0GWKc5C+6QK0DmxY0up9LJg=='
Create virtual server with 8 slots
2025-09-08 17:41:22.893696|INFO    |VirtualServerBase|1  |listening on 0.0.0.0:9987, [::]:9987
Channel 1 created by 0 on virtual server 1
2025-09-08 17:41:22.895474|INFO    |VirtualSvrMgr |   |addServer() VirtualServer(1) started
Channel 1 edited by 0 on virtual server 1
3 Likes

I stood up the example server but changed the IP to 127.0.0.1 instead of 0.0.0.0 as seen here:

and my sdk client connects just fine. The unreal implementation is not working using the same settings.

Thanks for your fast reply, i will ask our devs maybe they have an idea.

4 Likes

Did you use the setup_config.json in the [teamspeak-sdk-unreal] project ?
If yes the config still uses 3.0.4.4 and not the latest stuff. You would need to unzip the latest TeamSpeak SDK and copy the “bin”, “include” and “lib” folder in “TeamSpeak_SDK/ThirdParty”.

Outdated config

{
    "origin": {
        "url": "files.teamspeak-services.com/releases/sdk/",
        "version": "3.0.4.4"
    },
    "deploy": [
        "bin/linux/amd64",
        "bin/windows",
        "lib/windows",
        "include"
    ]
}
4 Likes