Template class in plugin results in unresolved symbol

Hi. I have a template class

template <typename T_Node>
class GOAPSOLVER_API AStarSolver

defined in plugin Goapsolver. I also have an inherited class

class GOAPSOLVER_API IntegerGraphSolver : public AStarSolver<unsigned>

defined in the plugin as well.
I call IntegerGraphSolver ::pathfind function in my main app code.
When I compile the project under DebugGame, everything is ok. When I compile it under editor preset, I get an ‘unresolved external symbol’ error around the pathfind method. What am doing wrong?