I created a very simple game only with blueprints in Unreal Engine 5.2. My project doesnt use c++ at all and it uses the metahuman plugin very extensively as a foundational piece.
I have tried to package my project many times so far and I keep getting the same thing:
fatal error LNK1120: 3 unresolved externals.
I am writing this because the issue I am having is way above my skill level.
So thats where you brilliant minds come in. I have had no success using google, youtube, chatgpt, bard, claude to solve this rather complicated problem
Here is the problem in detail. I would greatly appreciate for any help, tips, guidance you can give me on this. You are the only resort I have left.
Upon closer investigation of the complete log that you can find here:
I discovered these lines:
FaceMeshSolve.cpp.obj : error LNK2001: unresolved external symbol __std_find_trivial_2
FaceTracking.cpp.obj : error LNK2001: unresolved external symbol __std_find_trivial_2
PCARigCreator.cpp.obj : error LNK2001: unresolved external symbol __std_find_trivial_2
ImageIO.cpp.obj : error LNK2001: unresolved external symbol __std_find_trivial_2
VertexWeights.cpp.obj : error LNK2001: unresolved external symbol __std_find_trivial_2
solver_utils.cpp.obj : error LNK2001: unresolved external symbol __std_find_trivial_2
string_functions.cpp.obj : error LNK2001: unresolved external symbol __std_find_trivial_2
fatal error LNK1120: 3 unresolved externals
After investigating all these errors further I discovered every single error has to do with the MetaHuman plugin.
There is only one place online that someobdy had the same issue the way they resolved the problem is that they removed the metahuman plugin.
Except I can’t do that. My whole game is based on metahuman, everything. To remove metahuman for me is like trying the foundation of a house.
So I am trying to find a solution.
The best solution I found is this.
So I have to do this, as mentioned in this article:
“LNK2001 error is thrown by Visual Studio Linker after the developer has attempted to inherit from or use a class that’s not in the module dependency list. It is a C++ Linker error meaning that the linker failed to find either the .cpp or .obj needed to link. The developer has to make sure to include all the modules containing the code that is referenced by his CPP files. Follow this simple step-by-step tutorial to solve it.”
Except I can’t do this. My whole project is using blueprints. I dont know how to code in c++.
Granted I can read c++ and make sense of some logic. I am good at following step by step instructions. But I can’t find any on this particular issue. And the article I mentioned above doesn’t really address my issue given my level of knowledge, skill and understanding in c++.
So thats where you brilliant minds come in. I have had no success using google, youtube, chatgpt, bard, claude to solve this rather complicated problem, way above my skill level. I need a way to solve the following problem:
need to ensure that the linker has access to the required modules containing the referenced code used within the MetaHuman plugin’s code.
I would greatly appreciate for any help, tips, guidance you can give me on this. You are the only resort I have left.
Thank you so much for your attention and help!