Modding 'scripts/Game/Entities/Campaign/SCR_CampaignBase.c' throws an error to an unrelated class 'SCR_CampaignTaskManager' when compiling:
modded class SCR_CampaignBase { };
Can't find matching overload for function 'GetTask' scripts/Game/Entities/Campaign/SCR_CampaignBase.c line 2612
2608: SCR_CampaignTaskManager tManager = SCR_CampaignTaskManager.GetCampaignTaskManagerInstance(); ... 2612: SCR_CampaignTask task = tManager.GetTask(this, faction, SCR_CampaignTaskType.CAPTURE);
Error persists after changing the modded file's name and directory, and modding SCR_CampaignTaskManager to manually override the GetTask method.