I am new in Unreal, while following a tutorial from Udemy, I came across this following problem of VS not automatically suggesting methods for the GetWorld()
class. I hard coded the line from the tutorial and it worked, but still in VS the code had a Red line under it indicating error, and that’s bothering me. When I hover over the method I get this:
Can anyone tell me what to do??
- I tried Ctrl + Space, but no suggestion was shown in VS;
- I tried adding
#include "Engine/World.h"