This is the second time this has happened, where all of a sudden I can’t build projects anymore. Last time I completely removed and reinstalled the engine but I don’t want to do that all over again. Does anyone have any insight into what’s going on? the error occurs whether building an existing project or creating a new one. Thanks
Running C:/Program Files (x86)/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/Sor/Documents/Unreal Projects/MyProject/MyProject.uproject” -game -rocket -progress -2015
Discovering modules, targets and source code for game…
ERROR: Couldn’t find module rules file for module ‘JsonUtils’.
The error “Couldn’t find module rules file for module” means that the Build.cs file for that module wasn’t available (details here).
The only causes I know of:
You have an engine plugin (in Unreal/Engine/Plugins/) dependent on a project plugin (in MyProject/Plugins/).
You haven’t written a build rule for that module or it’s incorrectly configured.
Check if that module exists somewhere and that the Build.cs file is setup like other ones and that it appears in your Visual Studio project.
Check your project for all uses of the failing module. Can you remove them? Are they in the right place?
However, in your case I’d guess that JsonUtils is part of the engine and you’re not trying to use it since it fails for creating a new project. I guess delete all folders called “Intermediate” in your project and in the engine?