Identitifer ACharacter.GetMesh is not defined.

Capture d’écran 2023-01-14 024219

Visual Studio can’t find GetMesh(). Building for Unreal Engine using LiveCoding doesn’t work too. This class derives from ACharacter :
Capture d’écran 2023-01-14 024219

An other issue that is probably related is that i get the same error when using FNAME.

Here is the exact example of what i’m trying to do :
Capture d’écran 2023-01-14 024219

I tried to regenerate visual studio project files several times, but it did’nt changed
much (Befor regenerating it, even UCameraComponent.SetupAttachment() was undefined).

If you need any details about the issue feel free to reply to this question.