Unable to generate project files

when running UnrealBuildTool.exe -projectfiles, an error was occurred:

error CS0117: 'UnrealTargetPlatform' does not contain a definition for 'Win32'

No other errors are found and generate process immediately stopped. Is Win32 support lifted in UE5? Or is there a solution to this?

Thanks!

=======
I removed all Target.Platform == UnrealTargetPlatform.Win32 from .Build.cs and generation process succeeded.

2 Likes

yep, they say in the “Welcome To Unreal Engine 5 Early Access” documentation 32-bit support has been removed for UE5.

I am also unable to generateprojectfiles.bat my error is different tho, mine says that visual studio 2019 was not found installed, and it quits. Anyone know how I can repair this error, can I edit the .build.cs and remove so it doesn’t check if it’s installed first, or is there an environment variable that can be set, I’m using UE EA 5 Master edition from github and visual studio 2022 preview 4.1.

1 Like

hi @anonymous_user_62fa2554 ,

For Vs 2022 you want to use my forked repo in
Visual Studio 2022 Preview is 64 bit and compiles and runs UE 5.0 EA approximately 20% FASTER - Development Discussion / Unreal Engine 5 Early Access - Unreal Engine Forums

This builds with VS 2022 Preview 4.1

The Github [ue5-main]/master does not work with VS2022
Thanks