Launcher engine build won't generate project files for console project.

meinukey1
Mon, 18 Sep 2023 14:53:42 +0000
Platform & Builds

I just ported my project to XSX and the Build.cs on some of my modules have Target.Platform == UnrealTargetPlatform.XSX checks. The problem is that everyone else on the team are getting error CS0117: ‘UnrealTargetPlatform’ does not contain a definition for ‘XSX’ when generating project files on the launcher version of the engine.

It’s extremely disappointing that UBT doesn’t have all the possible platforms defined by default. Is there a workaround to this that is not having a separate branch of my project to target consoles?

Edit for clarity: I’m not expecting the launcher build to ship for console platforms, I just want my teammates who don’t work with devkits to not have to build unreal from source.

1 post - 1 participant