Visual Studio underlining functions although the code is working

This is just a problem with Visual Studio’s Intellisense as it does not play nice with very large projects, such as UE4. Although it’s annoying, it’s something you’ve just got to get used to. The squiggles will (usually) go away eventually.

Visual Studio 2017 has gotten a lot better and if you use Visual Assist that will help a ton as well.

You’re doing Ben’s Udemy course, aren’t you?

Oddly enough the error squiggles still happen to me pretty often with VS2017 and Visual Assist. I have a project where I’ve added some enums and structs manually, marked them up with UENUM and USTRUCT, included the generated header, etc. yet most of the file is marked as an error. Building completes successfully, though.

yeah exactly !