For the script replace GENERATED_UCLASS_BODY() with GENERATED_BODY() .
That could be the reason why its not working as everything else looks correct.
For the script replace GENERATED_UCLASS_BODY() with GENERATED_BODY() .
That could be the reason why its not working as everything else looks correct.