.cpp file excluded from unity file for no apparent reason

In this Unreal project, building and everything was perfect until today. After some trivial changes to this pair of .h and .cpp files, I cannot by any means compile and build.

What is happening is described on log as:

0>[Adaptive Build] Excluded from ProjectName unity file: FileName.cpp

Then as the build tries to compile:

0>FileName.gen.cpp(32470): Error C2607 : static assertion failed

There is no error on the file, nothing is being detected or pointed wrong. Where do I go from here? I want to discover why this file is now all of a sudden being excluded from unity file. I have no idea how.


Please sign in to leave a comment.