Summary
In UE 5.8.4 (Launcher build) MetaHuman Creator’s ‘Create Full Rig’ fails after ~1 s with “Auto-Rigging of Face failed with code ‘Server Error’” when no MetaHuman/EOS login is stored on the machine. No sign-in prompt is ever shown, and the authentication menu only says to run auto-rigging to start sign-in. The plugin sends the auto-rig request with a placeholder “Authorization: Bearer TOKEN” and starts LoginAsync() only after a 401. For the ~590 KB auto-rig upload the service often resets the connection instead of returning the 401, so the plugin treats it as ServerError and never tries to sign in.
What Type of Bug are you experiencing?
Online
Steps to Reproduce
- On a machine with no stored MetaHuman/EOS persistent login, open a MetaHuman Character in UE 5.8.4 (Launcher build).
- Click ‘Create Full Rig’.
- Observe the error notification and the log (LogHttp VeryVerbose).
- Click ‘Download Source Textures’ → ‘User is not logged in. Run auto-rigging before downloading source face textures’.
Expected Result
The plugin asks the user to sign in to Epic (persistent auth → exchange code → account portal / device code in the browser), then rigs the face and downloads the textures.
Observed Result
POST https://mh-uemhc-autorig-service.eeeb.live.use1a.on.epicgames.com/v1/autorigs
Request Header Authorization: Bearer TOKEN (placeholder, no user signed in)
upload completely sent off: 591480 bytes
Recv failure: Connection was reset (errno 10054) → libcurl error 56 → completed with reason ‘Other’ → ‘Server Error’.
LogMetaHumanAuth: Login failed - error code: EOS_InvalidAuth (texture path, EOS_LF_NO_USER_INTERFACE only).
With curl, a ~590 KB unauthenticated POST to /v1/autorigs gets 401 in ~5 of 8 tries and a connection reset (curl exit 56) in ~3 of 8; small POSTs always get 401. In the editor the reset happened 5 of 5 times.
Affects Versions
5.8
Platform(s)
Windows
Additional Notes
Cause (MetaHumanSDKEditor/Private/Cloud/MetaHumanServiceRequest.cpp):
- ExecuteRequestAsync() sends the request with SetAuthHeader(), which falls back to the literal “Bearer TOKEN” when nobody is signed in.
- LoginAsync() is started only from the EHttpResponseCodes::Denied (401) branch of the completion handler.
- ServiceAuthentication::LoginToAuthEnvironment() has no callers in the 5.8.4 plugin; the texture download and the auth menu only call CheckHasLoggedInUserAsync() (EOS_LF_NO_USER_INTERFACE).
- LoginUsingPersist() reads the MetaHuman.Cloud.Config.ExchangeCode cvar but not the launcher’s -AUTH_TYPE=exchangecode -AUTH_PASSWORD=
; the platform is created with EOS_PF_DISABLE_OVERLAY.
Workaround that worked: click ‘Create Full Rig’ several times; once a 401 arrives the plugin runs LoginAsync(), falls back to device-code sign-in in the system browser, the user confirms, ‘Login complete: EOS_Success’, the rig finishes in 55 s and textures download.
Suggested fix: call LoginToAuthEnvironment() before sending when bLoggedIn is false (then send with the real token); also use the launcher exchange code from the command line in LoginUsingPersist(); or treat a reset/failed connection on an unauthenticated request like a 401; or add a ‘Sign in’ item to the authentication menu. Happy to share the diffs.