I had it as
int32 FBullCowGame::GetHiddenWordLength() const { return MyHiddenWord.length; }
which didn’t work,
but
int32 FBullCowGame::GetHiddenWordLength() const { return MyHiddenWord.length(); }
did. I don’t understand why the ()s are needed? All the other getters don’t have it.