GetValidWords not recognised in header file

Hi there,
The GetValidWords function is not being recognised when compiling.
I checked the code for typing mistakes but there doesn’t seem to be any.
Any ideas?
Thanks,
Sinead!


The variable “WordList” is not in the header but it is in the cpp file.

Check your spelling of words in GetValidWords in each file

In Unreal Engine go to File -> Refresh VSCode Project. If it doesn’t work, try refreshing then closing VSCode and reopening it. I had the same problem and this trick worked everytime!

Privacy & Terms