# Problems with VS

#1

my VS is acting weird now (remind me why i didnt like it when i learned c++ ) - i used the UE_LOG in PositionReport , now in class named “Grabber” i cant use it nor GetWorld.
i added many kind of header files as guys here recomment but with no good.

BTW the program does compile with GetWorld() - but the autocomplete cant find it.
also FVactor / FRotator - its compile with success, but does not find it in autocomplete nor highlight the text.

so now when i try to use the UE_LOG its not compile with success, any suggestions?

#2

I had the same thing and adding these lines to my header file worked, I know you said you tried a bunch but maybe you missed one

#include “Grabber.h”
#include “GameFramework/Actor.h”
#include “Components/ActorComponent.h”
#include “Engine/TriggerVolume.h”
#include “Engine/World.h”
#include “GameFramework/PlayerController.h”