UHT cant handle #if WITH_EDITOR

Can I just confirm that you’re using 4.17? You mention the patch notes of 4.17, but the Product Version of your issue says 4.16.

Steve