if I leave the first line in there it compiles just fine, adding the second line gives me the error. Any ideas? including AnimInstance.h on top of my character cpp doesnt work either.
most likely because UAnimInstance is abstract declaration, at first line you just saying about variable type, at second line you are trying to access specific members but since it is abstract it doesn’t have one.