For the Centre Court Pickleball League (CCPL) in Hyderabad, my 3D stat graphics ran at 20 to 30 fps on air. It was an outdoor event, the GPU was working hard all evening, and I had my explanation ready: heat. I even said so publicly.

I was wrong. The GPU was fine. The real cause was the remote panel the operator uses to trigger the graphics, and the fix took two small changes. This is how I found it.

The setup

The project runs in Unreal Engine 5.8 on an Intel i9-14900K with an RTX 3090. Video goes out through a Blackmagic DeckLink 8K Pro at 1080p50.

The operator doesn't touch Unreal during the show. They use a web remote I built, which talks to Unreal through the Remote Control API over HTTP. The remote reads the current state from Unreal (which graphic is selected, which team, which game) and sends commands like Prep and Play.

At 50 frames a second, every frame has 20 ms to finish. We were taking more than twice that.

Measuring instead of guessing

I profiled the frame while the graphics were running with Blackmagic capture on. These were the numbers:

What Time per frame
Total frame 44.6 ms (about 22 fps)
Game thread, waiting on web connections 38.6 ms
GPU 13.8 ms
Render thread 7.3 ms

The GPU needed under 14 ms, well inside the 20 ms budget. The hardware was never the limit.

Almost all the lost time was in one place: the game thread, waiting on web connections.

The real cause

Unreal's built-in web server handles Remote Control (and MCP). In every frame it checks each open connection for new data, and by default it waits up to 1 ms on each one before moving on. In practice that came to about 1.46 ms per open connection, per frame.

On its own, that's nothing. But my remote was reading 18 values every second and 9 more every 2 seconds, all in parallel, so it kept 27 connections open at once.

27 connections × about 1.46 ms ≈ 39 ms of waiting, every single frame.

The remote I built to make the show easier was the thing slowing it down.

Proving it

A theory isn't a fix, so I tested it. While profiling, I opened extra idle connections from a test script, then closed them:

Open connections Frame time
27 (the remote only) 45.3 ms
54 (27 test connections added) 84.8 ms
27 (test connections closed) 44.5 ms

The frame time almost doubled with the extra connections and went straight back when they closed. That settled it.

The fix

1. The remote now uses one connection instead of 27.

  • It reads values one at a time on a single connection, which closes after each cycle.
  • Selection and status are read every second. Manual values are read every 5 seconds instead of every cycle.
  • If several devices have the remote open, they share one set of readings instead of each polling Unreal.
  • If no remote page is open, nothing is sent to Unreal at all.
  • Prep and Play get their own short-lived connection, so a command never waits behind a read.

2. One line in Config/DefaultEngine.ini:

[HTTPServer.Connections]
BeginReadWaitTimeMS=0

This tells Unreal to check each connection without waiting. It needs an editor restart, and it applies to everything using that web server, including MCP.

I didn't change any graphics, lighting or quality settings, so the picture looks the same as before.

The result

Every graphic now runs at 60 fps or more. I checked each one myself, and the operator saw 80 to 90 fps in their own check.

Things to watch out for

Idle connections stay open. With BeginReadWaitTimeMS=0, a client that stays connected and idle is no longer dropped by Unreal's idle timeout. Clients that close properly are still removed. If you use this setting, make sure your tools close their connections.

Every extra tool costs frames. On show day, only the broadcast remote connects to Unreal. Any other panel or script on port 30010 adds connections and brings the frame rate down again.

Open Unreal first, then the remote. The remote resets its manual switches when it launches. If Unreal starts after it, the remote can miss that reset.

Be careful with /remote/batch. Unreal crashed while I was testing that endpoint (Assertion failed: Pair != nullptr inside WebRemoteControl). I haven't proven the batch call caused it, and I didn't repeat the test, but the new remote doesn't use it.

While I was in there

The frame rate fix didn't need any interface changes, but I tidied the remote anyway. It now has three numbered steps (choose the graphic, choose the data, run it), a status pill that says whether Unreal is connected and playing, and Manual mode switched off by default at launch. Refreshing a tablet mid-show no longer resets anything that's on air.

I worked through the profiling and the fix with Claude as a technical partner, which made the detective work much faster.

Quick recap

  • Low frame rate in live Unreal graphics isn't always the GPU. Profile before you blame.
  • Each open Remote Control connection costs about 1.5 ms per frame by default.
  • Keep your remote to one connection, close it after each read cycle, and share readings between devices.
  • Setting BeginReadWaitTimeMS=0 removes the per-connection wait, but watch for idle clients that never close.
  • Result: from about 22 fps to 60+ fps, with no change to the visuals.