Really strange compile error

Hey all,

I am getting this really strange compile error.

It only happens on this one project, all my other projects compile just fine.



1>------ Build started: Project: Apocrypha, Configuration: Development_Editor x64 ------
1>  Building UnrealHeaderTool...
1>  Target is up to date.
1>  Parsing headers for ApocryphaEditor
1>  Code generation finished for ApocryphaEditor and took 2,837
1>  rc.exe Apocrypha.rc
1>EXEC : fatal error RC1107: invalid usage; use RC /? for Help
1>  
1>  LogitechLCD.cpp
1>  -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: D:\Repository\UE4 Projects\Apocrypha\Binaries\Win64\UE4Editor-Apocrypha.dll
1>  Cumulative action seconds (8 processors): 0,00 building projects, 0,58 compiling, 0,00 creating app bundles, 0,00 generating debug info, 0,00 linking, 0,00 other
1>  UBT execution time: 14,23 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""C:\Program Files\Unreal Engine\Engine\Build\BatchFiles\Build.bat" ApocryphaEditor Win64 Development "D:\Repository\UE4 Projects\Apocrypha\Apocrypha.uproject"" exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Anyone have any suggestions as to why it would fail on this?

Thanks in advance!

Nevermind this one guys, I found the error.

Turns out the compile failed because my beta code for this actor contained a reference to Texture2D, which apparently has changed in the release.

Why it would fail on the rc part, though, only god knows…