Getting error "undeclared identifier: C2565"

Hello everyone,
I’m currently getting this error. I’m not sure the cause, I’ve tried refreshing the project code in Unity but it didn’t fix the issue. I also tried re-installing the game (deleting the folder and re-downloading it), but had no luck.
Whenever I open my VS code everything seems to be working except for FString, which starts with a light green colour, but suddenly changes to a blue colour. I attached images that show the before and after.
Thanks for the help!

You have write the first HiddenWord with a capital W, and the second with w, so the compiler thinks it is a different variable.

Ah… that’ll do it lol. Thanks for the help!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms