Unresolved External Symbol IMPLEMENT_MODULE_ModuleName

Hey Everyone,

I’m trying to add a new module to my plugin and I keep running into a linker error when I’m trying to add a new module to a plugin I’ve created and I don’t really know where it could come from, the error is

1>LINK : error LNK2001: unresolved external symbol IMPLEMENT_MODULE_TaskSystemEditor

Uplugin file:

"FileVersion": 3,
	"Version": 1,
	"VersionName": "1.0",
	"FriendlyName": "TaskSystem",
	"Description": "",
	"Category": "Other",
	"CreatedBy": "Diego Camacho",
	"CreatedByURL": "",
	"DocsURL": "",
	"MarketplaceURL": "",
	"SupportURL": "",
	"CanContainContent": true,
	"IsBetaVersion": false,
	"Installed": false,
	"Modules": [
		{
			"Name": "TaskSystem",
			"Type": "Runtime",
			"LoadingPhase": "Default"
		},
		{
			"Name": "TaskSystemEditor",
			"Type": "Editor",
			"LoadingPhase": "PostEngineInit",
			"AdditionalDependencies": [
				"Engine",
				"CoreUObject"
			]
		}
	]

Build.cs

using UnrealBuildTool;

public class TaskSystemEditor : ModuleRules
{
	public TaskSystemEditor(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
	
		
		PublicDependencyModuleNames.AddRange(
			new string[]
			{
				"Core",
				"UnrealEd"
				// ... add other public dependencies that you statically link with here ...
			}
			);
			
		
		PrivateDependencyModuleNames.AddRange(
			new string[]
			{
				"CoreUObject",
				"Engine",
				"Slate",
				"SlateCore",
		
				// ... add private dependencies that you statically link with here ...	
			}
			);
	}
}

Module h/cpp:

#pragma once

#include "Engine.h"
#include "UnrealEd.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"


class FTaskSystemEditorModule : public IModuleInterface
{
public:

	void StartupModule() override;


	void ShutdownModule() override;

};

#include "TaskSystemEditor.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"


void FTaskSystemEditorModule::StartupModule()
{
}

void FTaskSystemEditorModule::ShutdownModule()
{
}

IMPLEMENT_MODULE(FTaskSystemEditorModule, TaskSystem)

I don’t really know what the issue is here if someone has any ideas that would be very helpful

1 Like

You should check the value here

IMPLEMENT_MODULE(FTaskSystemEditorModule, TaskSystemEditor)

OMG, i can’t believe i didn’t think of that, thanks i was a day into this problem lol