Hi. I’m getting this error every time when I add a new class:
“Failed to add class MySpotLight222.cpp. Failed to automatically compile ‘HowTo_PlayerInput’ module”.
The class files are created, but not added to the code in the Unreal Editor.
Furthermore, the compile icon is no longer present in the Unreal Editor as well.
Here’s the output from the compilation:
CompilerResultsLog: New page: Compilation - Mar 11, 2015, 10:19:50 PM
CompilerResultsLog: Info ERROR: Couldn't find target rules file for target 'UE4Editor' in rules assembly 'UE4Editor_EditorRecompileModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
CompilerResultsLog: Info Location: C:\Users\Pedro Costa\Documents\Unreal Projects\HowTo_PlayerInput\Intermediate\Build\BuildRules\UE4Editor_EditorRecompileModuleRules.dll
CompilerResultsLog: Info Target rules found:
CompilerResultsLog: Info HowTo_PlayerInput - C:\Users\Pedro Costa\Documents\Unreal Projects\HowTo_PlayerInput\Source\HowTo_PlayerInput.Target.cs
CompilerResultsLog: Info HowTo_PlayerInputEditor - C:\Users\Pedro Costa\Documents\Unreal Projects\HowTo_PlayerInput\Source\HowTo_PlayerInputEditor.Target.cs
CompilerResultsLog: Info
LogMainFrame: MainFrame: Module compiling took 0.705 seconds
Any help would be much appreciated, thanks.