Chaos Debug Console Commands not working (5.3)

Hi @HYF_Perfect, Sorry for the delay. It is not a bother, I am happy to help.

The argument Server in p.Chaos.StartVDRecording, is not related to a game server, but to the Unreal Trace Server (Which CVD uses under the hood for live recordings).

The IP argument needs to be the one where the editor (and by extension the trace server) is running, which in this case should be your PC or workstation.

The console command needs to be executed in the application itself. If you want to record a dedicated server, the console command needs to be executed in that server, not the game client.

When that is not possible, you can startup your game server with these console commandline arguments. That will automatically start a CVD recording and connect to your local trace server.

Then, when you click the Connect to Session button, you don’t need to change the trace store address. If all went well, you should see the IP where your game server instance is running in Live Session selection dropdown as shown here

That said, this workflow is not meant to be used to connect to a deployed game server in the cloud over the internet. It is possible to make it work, but you would need to open the necessary ports for unreal trace server to allow the deployed game server connect to your workstation over the internet, which is not advisable.

This workflow is meant to be used to connect to a development/test game server (or client) running locally in your workstation, or within your LAN.

We have plans to introduce a workflow where you can connect to a deployed development or test game server, and send the data alongside side other game replication data, but I don’t have an ETA for that feature.

That said in UE 5.6 we introduced a feature in CVD that works towards that goal.Now you don’t need to execute the console commands in a packaged client or server build, CVD will discover them automatically and allow you to connect to them in one click (same as it works for PIE sessions). The full documentation for this workflow and tutorials will come out soon, I will update this post when that is available.

If you have any other questions, just let me know.