I have a new UE 5.2 blank project that I am unable to compile in Visual Studio.
The errors are all in read-only source files and I have done literally nothing the blank project.
Can someone explain how there can be errors in UE5’s source? Again I have not done a thing but generate a new project from a template.
Severity
Code
Description
Project
File
Line
Suppression State
Error (active)
E0035
error directive: Unsupported architecture, please declare which address bit distinguish user space from kernel space
"In general, it is safer to avoid names that are likely to be reserved words.There are cases where a project cannot be built successfully if a word that is treated specially in UnrealEngine is used as a project name. In addition to ‘Test’ , words used in platform names such as ‘Windows’ ‘Switch’ should also be avoided. Also, the error list is unreliable in UnrealEngine development, so don’t look at it. For all errors, see the log in the output tab. judge by "
Having looked at this a bit more I still see the same error, with a different project name, so more likely its probably errors you have to ignore… not great.
In addition to ‘build’ only on the error list tab, the log, from the output tab, (C:\Users\CoolUsername\AppData\Local\UnrealBuildTool\Log.txt) told me [BuildException: Unable to build while Live Coding is active. Exit the editor and game, or press Ctrl+Alt+F11 if iterating on code in the editor or game].
Setting, in VS, Error List tab to ‘build’ and closing Unreal Engine, allowed me to compile project.
Not sure if I solve the same problem. I had similar issue which I can’t compile an empty project with “Development Editor”. I managed to be able to debug using “Debug Game Editor”. The “Development Editor” aren’t working for me. I’m using Unreal Engine 5.3.2 with Visual Studio 2022 version 17.9.2
Hope this got resolved in the future.
I got the same bunch of errors because I forgot to go to Edit > Editor Preferences > General > Source Code > Source Code Editor and change the setting to my IDE (in my case Visual Studio 2022)
Make sure you have vs 2022 installed and your project set as default (in bold letters). If ue5 is in bold you are trying to build the binary version of the engine.
Also as a rule do not use other languages than english for project names and do not use to long or heavily nested project paths.