Hi, I’m working on developing my own game framework and currently experimenting with plugins and packages.
I encountered an error in my header file that says, “argument list missing after assumed function template ‘TQueue’.” The error seems to be related to the following line:
#include "CoreMinimal.h"
class FGOAPAction;
class GOAP_API FGOAPlanner
{
public:
FGOAPlanner();
~FGOAPlanner();
TQueue<TUniquePtr<FGOAPAction>> Plan(); // Error line
};
cpp
#include "GOAPlanner.h"
#include "GOAPAction.h"
TQueue<TUniquePtr<FGOAPAction>> FGOAPlanner::Plan() // error line
{
return TQueue<TUniquePtr<FGOAPAction>>();
}
I have already defined the FGOAPAction class in another file, but for some reason, the compiler is unable to find it. Any insights into why this class is not being recognized would be greatly appreciated.