I have found that sometimes UHT doens’t pick up changes to files, especially if altered from external sources, and in those cases I just had to make any change to the header file (like add a space and delete it and then save), and then generating project files actually generates the .generated.h file properly