Files
UnrealEngineUWP/Engine/Source/Runtime/CookOnTheFly
paul deberry b18b8bfe2b Fix Mismatch between platform requested by client and ODSC server
#jira UE-211318

Unfortunately, ODSC/COTF server (a.k.a. UE Editor) and game/client runtime don't generally agree on the name of the target platform for client-only target configurations. Editor target platform names for client-only target configs always end with "Client," but runtime platform names don't universally adhere to that. Desktop platforms do, but non-desktop platforms don't.

As suggested by [at]benjamin.rouveyrol, add "Client" to the end of the requested platform name(s) from the runtime (client) side of CookOnTheFlyServerConnection, if built for a client-only configuration and not already present, in order to match up with the server's notion of the platform name. [at]josh.adams suggested adding Client (and Server) platforms to the array generated by FPlatformMisc::GetValidTargetPlatforms(), and while that would feel cleaner, I deemed it more risky and complicated than was warranted.
#rb benjamin.rouveyrol, Matt.Peters

[CL 33405667 by paul deberry in ue5-main branch]
2024-05-02 15:16:57 -04:00
..