Unreal engine is very heavy, sometime intelj suffer to show correctly with its api, so dont be mad, if its complie correctly inside the engine, then its save to ignore visual studio errors , sometimes u need to restarted it if u copied and pasted large chunk of code to show correctly without false errors.