HydraIssues

Body preparation never installed the Visual C++ runtime, so a body built from a clean image streams a black screen while every layer reports success
open bug Project: hydrabody Reporter: 15 Oct 2026 15:02

Description

Found on the first GCP cloud body, which is the first body ever built from a clean Windows image rather than set up by hand.

Symptom

The stream connects and renders, and what the viewer sees is a modal Windows dialog over a black screen saying the Microsoft Visual C++ runtime is required.

Every layer reported success. That is the important part:

  • hydrabody: experience installed, app registered in Sunshine with prep-cmd hooks
  • Sunshine: Executing: [...\Rupelmonde.exe -ResX=1920 ...], encoders created, RTSP 200 on all three streams
  • head: pairing complete, stream started, status streaming
  • body: state=SUNSHINE_SERVER_BUSY, currentgame=2039051861

Nothing anywhere said a library was missing. On the body only the 13 MB Rupelmonde launcher was running; Rupelmonde-Win64-Shipping had exited immediately. The owner diagnosed it by READING THE DIALOG in a screenshot of the stream, which is the only place the information existed.

Cause

Unreal Engine shipping binaries link against the Microsoft Visual C++ runtime. Windows ships no such runtime. hydrabody had no prerequisite handling at all — a grep for vc_redist, vcredist, UEPrereq, prereq or redistributable across the repo returned nothing.

Verified on the cloud body before the fix:

HKLM\SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64 : NOT INSTALLED
C:\Windows\System32\msvcp140.dll        : False
C:\Windows\System32\vcruntime140.dll    : False
C:\Windows\System32\vcruntime140_1.dll  : False

Every venue body has the runtime only because somebody installed it by hand long ago. That stays invisible until a body is built from scratch, and until now none ever had been. The existing HydraBody Allow vc_redist.x64.exe firewall rule on older bodies is a fossil of exactly that manual step.

Fix

hydrabody v2.0.70-rc.17, commit 65764b6.

ensureUERuntime runs on the experience install path, BEFORE the experience is downloaded, so a body proves it can RUN an Unreal binary before one is put on it. Deliberately not a startup step: a body that never serves an experience never fetches a 25 MB installer it does not need.

It checks the three libraries a shipping binary actually links against rather than the installer's registry key, because their presence is the condition that decides whether the experience starts. vcruntime140_1.dll matters especially, since older redistributables omit it and a body can look installed while still failing.

Failures are logged rather than returned: a body that cannot reach Microsoft right now should still install its experiences, and the next install retries. Exit code 3010 is treated as success, because it means the DLLs are in place with a reboot pending, and hydrabody must never reboot a body on its own initiative.

The rule lives in prereq.go with no build tag so it is testable on any platform; only the install is Windows-specific. Off Windows it is a no-op, since a Linux body's experiences link against the distribution's own C++ runtime.

Status

Released as rc.17. NOT yet validated on a clean body: the cloud body was hand-patched to unblock the first GCP stream, so it is no longer representative. The owner has asked for a fresh body built from the pre-patch snapshot to prove the preparation path end to end with no manual step. That validation is outstanding.

Related gap, same class

#798's third layer is that the whole /providers/ tree on releases.experiencenet.com is 404, so Sunshine itself cannot be installed or upgraded by automation either. Every body in the fleet runs the Sunshine a human put there, which is why all five Windows bodies are on 2025.924.154138 and only the GCP body is on 2026.914.233613. Body preparation that silently does not happen is the shared theme.

Session Context

Venue
mobile-kit