UHT Preprocessor not taken into account

That would be the reason. I apologize for not reading more thoroughly. This is definitely an issue and I’ll be testing it on our latest internal build and submitting a bug if it still occurs.

The issue is caused by how UHT is generating the code for the console command part of the exec specifier as you mentioned. You can see the code itself that causes this in the .generated.h file for the class. Thank you for reporting this and I’ll let you know as soon as I’ve placed the bug in.