Unresolved external symbol EBTNodeResult::Type

When I followed the tutorial to implement Behavior Tree, I got this error. After google it most of them said it’s AIModule and GameplayTasks dependencies, but not work for me.

Here is my Project.Build.cs, also added to Project.uproject

{ “Core”, “CoreUObject”, “Engine”, “InputCore”, “AIModule”, “GameplayTasks”, “HeadMountedDisplay”, “UMG”, “Slate”, “SlateCore” }

Any Idea?

I put AIModule after GameplayTasks, that might fix it.