If I remove the build step, the error goes away. Also, it doesn’t seem to matter what the build step is – even if I change it to just something like “echo hello world”, it still causes the build to fail.
Just this is enough to make it fail. Oddly enough, I do see the “hello world” printed in the output window. So I would think the error is somewhere else, but if I remove the “PreBuildSteps” block, it builds.
Is there a way to get more information from the “UnrealHeaderTool?” I tried to find this tool from the command line so I could run it directly, but couldn’t. I found what appears to be the tool’s directory:
I’ll have a look into adding a more descriptive error message when the uproject JSON is invalid, instead of having CrashOrAssert which doesn’t tell you an aweful lot.
Hey Gheist, one more question (probably doesn’t warrant a whole new thread): Is there a way to make the build fail if these pre/post steps return an error? It seems to just continue along happily even if the ERRORLEVEL gets set to non-zero by one of the steps.