Unreal Build Tool error for only one project

Samathan
Sun, 02 Jun 2024 07:02:52 +0000
Programming & Scripting

I recently added some plugins to my project (Lyra’s CommonGame, CommonUser, and ModularGameplayActors plugins). But when I tried to regenerate my project files to index the plugins, I got this error from UBT:

… referring to this code in UnrealBuildTool.cs:

I am using the current “release” branch of Unreal’s source, with a PS5 platform extension. I have tried everything I can think of to fix this, and nothing works.

I tried removing the plugins; I tried reverting back several versions to long before this error started happening; I tried completely uninstalling my source build of the engine and reinstalling it from scratch, removing all of my engine plugins and platform extensions. I tried endless combinations of Build.cs dependencies, .uproject settings, and Target.cs settings. I still get this error.

The strangest part is that this error only occurs for this project with this build of the engine. I can build any other project perfectly fine on the same engine, and I can build this project perfectly fine on any binary engine version.

I even created a new project, copied all of my plugins, dependencies, and project settings, and re-built it, and the new project didn’t give me this error, while the original project still gives it.

The only solution I can imagine now is creating a new project from scratch, copying all of of my source, and migrating all of my assets; but this is a massive project and that’s just not possible. I’m really at a loss here, and am desperate for any possible fixes.

8 posts - 3 participants