You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Severity Code Description Project File Line Suppression State
Error LNK2005 IMPLEMENT_MODULE_GenericGraphEditor already defined in EdGraph_GenericGraph.cpp.obj
This is because you have the IMPLEMENT_MODULE macro on GenericGraphEditor.h causing a double definition when is imported on the .cpp file. Moving the macro to the end of the .cpp file will resolve this issue.
PD: Also you forgot to add ";" at the end of the macro
Activity
EmilianC commentedon Nov 24, 2022
+1, this looks like a Unity compilation issue. Once a file is edited and knocked out of the Unity build, it will generate this error.
ABTWG22 commentedon Jul 12, 2023
I'm going to submit a pull request to fix this issue, I've also just experienced this. Might as well fix it while I'm here.
ABTWG22 commentedon Jul 12, 2023
Here is the fix #31