Description

UnrealServer -precompile -allmodules fails to compile with - Plugins\Media\PixelStreaming2\Source\PixelStreaming2\Internal\UtilsCore.h(34) : error C4702: unreachable code

This compile setting is used for Installed Builds created via:

.\Engine\Build\BatchFiles\RunUAT.bat BuildGraph -Target="Make Installed Build Win64" -Script="D:\WS\Git-56\Engine\Build\InstalledEngineBuild.xml" -set:WithClient=true -set:WithServer=true -set:HostPlatformOnly=true

which is what some studios use to distribute premade engine builds for project development to iterate on.

Steps to Reproduce
  1. Create/Update a Source Workspace
  2. Open a command prompt
  3. .\Engine\Build\BatchFiles\RunUBT.bat UnrealServer Development Win64 -Precompile -AllModules

Result:

\Plugins\Media\PixelStreaming2\Source\PixelStreaming2RTC\Private\PixelStreaming2RTCModule.cpp(173) : error C4702: unreachable code
   while compiling UE::PixelStreaming2::FPixelStreaming2RTCModule::StartupModule

Expected:
No compile failure

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-290632 in the post.

0
Login to Vote

Unresolved
ComponentPixelStreaming
Affects Versions5.6
CreatedMay 27, 2025
UpdatedJun 19, 2025
View Jira Issue