I tried this:
m_Leader = NewObject<UCGenome>(&NewMember);
And the error I get now is that it is unable to recognize the ‘=’ operator. I believe NewObject() returns a pointer to the object? From the compile log I can see that that’s causing the error as it is not able to do UCGenome = UCGenome*. m_Leader is a UCGenome and NewObject returns UCGenome*.