Unresolved external symbol when packaging

Hey there,
I’m currently having a problem when packaging the game / compiling the game using the launch button in the editor. I have already fixed a problem by including the AIModule in the myproject.Build.cs file.
However the folling functions are my own code and im unsure why they are properly recognized when packaging, because PIE works just fine.
Does anyone have an idea why its throwing the errors? Also, why are there no lines shown for where these errors stem from? Greetings

  unresolved external symbol "public: struct FVector __cdecl UBuildableEntity::GetBuildingCenterWorldLocation(void)const " (?GetBuildingCenterWorldLocation@UBuildableEntity@@QEBA?AUFVector@@XZ) referenced in function "public: void __cdecl ABasePathVisualizer::UpdateVisualizer(class UBuildableEntity *)" (?UpdateVisualizer@ABasePathVisualizer@@QEAAXPEAVUBuildableEntity@@@Z)
  unresolved external symbol "public: struct FVector __cdecl UBuildableEntity::GetBuildingCenterWorldLocation(void)const " (?GetBuildingCenterWorldLocation@UBuildableEntity@@QEBA?AUFVector@@XZ)
  unresolved external symbol "public: struct FVector __cdecl UBuildableEntity::GetBuildingCenterWorldLocationStatic(class UIsland *,int,int,int)const " (?GetBuildingCenterWorldLocationStatic@UBuildableEntity@@QEBA?AUFVector@@PEAVUIsland@@HHH@Z) referenced in function "public: void __cdecl ABasePathVisualizer::UpdateVisualizerComponent(class TSubclassOf<class UBuildableEntity>,class UDecalComponent *,class UIsland *,int,int,int)" (?UpdateVisualizerComponent@ABasePathVisualizer@@QEAAXV?$TSubclassOf@VUBuildableEntity@@@@PEAVUDecalComponent@@PEAVUIsland@@HHH@Z)
  unresolved external symbol "public: struct FVector __cdecl UBuildableEntity::GetBuildingCenterWorldLocationStatic(class UIsland *,int,int,int)const " (?GetBuildingCenterWorldLocationStatic@UBuildableEntity@@QEBA?AUFVector@@PEAVUIsland@@HHH@Z)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetSizeX(void)const " (?GetSizeX@UBuildableEntity@@QEBAHXZ) referenced in function "public: void __cdecl ABasePathVisualizer::UpdateVisualizer(class UBuildableEntity *)" (?UpdateVisualizer@ABasePathVisualizer@@QEAAXPEAVUBuildableEntity@@@Z)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetSizeX(void)const " (?GetSizeX@UBuildableEntity@@QEBAHXZ)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetSizeX(void)const " (?GetSizeX@UBuildableEntity@@QEBAHXZ)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetSizeY(void)const " (?GetSizeY@UBuildableEntity@@QEBAHXZ) referenced in function "public: void __cdecl ABasePathVisualizer::UpdateVisualizer(class UBuildableEntity *)" (?UpdateVisualizer@ABasePathVisualizer@@QEAAXPEAVUBuildableEntity@@@Z)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetSizeY(void)const " (?GetSizeY@UBuildableEntity@@QEBAHXZ)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetSizeY(void)const " (?GetSizeY@UBuildableEntity@@QEBAHXZ)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetPosX(void)const " (?GetPosX@UBuildableEntity@@QEBAHXZ) referenced in function "public: virtual void __cdecl ABasePathVisualizer::RemoveVisualizer_Implementation(class UBuildableEntity *)" (?RemoveVisualizer_Implementation@ABasePathVisualizer@@UEAAXPEAVUBuildableEntity@@@Z)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetPosX(void)const " (?GetPosX@UBuildableEntity@@QEBAHXZ)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetPosY(void)const " (?GetPosY@UBuildableEntity@@QEBAHXZ) referenced in function "public: virtual void __cdecl ABasePathVisualizer::RemoveVisualizer_Implementation(class UBuildableEntity *)" (?RemoveVisualizer_Implementation@ABasePathVisualizer@@UEAAXPEAVUBuildableEntity@@@Z)
  unresolved external symbol "public: int __cdecl UBuildableEntity::GetPosY(void)const " (?GetPosY@UBuildableEntity@@QEBAHXZ)
  unresolved external symbol "public: struct FVector __cdecl UIsland::GetIslandToWorldCoords(struct FVector2D const &)const " (?GetIslandToWorldCoords@UIsland@@QEBA?AUFVector@@AEBUFVector2D@@@Z) referenced in function "public: struct FTransform __cdecl UBuildableEntity::GetBuildingCenterTransform(void)const " (?GetBuildingCenterTransform@UBuildableEntity@@QEBA?AUFTransform@@XZ)
  unresolved external symbol "public: struct FVector __cdecl UIsland::GetIslandToWorldCoords(struct FVector2D const &)const " (?GetIslandToWorldCoords@UIsland@@QEBA?AUFVector@@AEBUFVector2D@@@Z)
  unresolved external symbol "public: struct FVector __cdecl UIsland::GetIslandToWorldCoords(struct FVector2D const &)const " (?GetIslandToWorldCoords@UIsland@@QEBA?AUFVector@@AEBUFVector2D@@@Z)
  unresolved external symbol "public: struct FVector2D __cdecl UBuildableEntity::GetCenterTile(void)const " (?GetCenterTile@UBuildableEntity@@QEBA?AUFVector2D@@XZ) referenced in function "public: static void __cdecl UBuildableEntity::execGetCenterTile(class UObject *,struct FFrame &,void * const)" (?execGetCenterTile@UBuildableEntity@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: struct FVector2D __cdecl UBuildableEntity::GetCenterTileStatic(class UIsland *,int,int,int)const " (?GetCenterTileStatic@UBuildableEntity@@QEBA?AUFVector2D@@PEAVUIsland@@HHH@Z) referenced in function "public: static void __cdecl UBuildableEntity::execGetCenterTileStatic(class UObject *,struct FFrame &,void * const)" (?execGetCenterTileStatic@UBuildableEntity@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: float __cdecl UBuildableEntity::GetBuildCostMoney(void)const " (?GetBuildCostMoney@UBuildableEntity@@QEBAMXZ) referenced in function "public: static void __cdecl UBuildableEntity::execGetBuildCostMoney(class UObject *,struct FFrame &,void * const)" (?execGetBuildCostMoney@UBuildableEntity@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: class TMap<enum EGoodTypeCpp,float,class FDefaultSetAllocator,struct TDefaultMapHashableKeyFuncs<enum EGoodTypeCpp,float,0> > __cdecl UBuildableEntity::GetBuildCostGoods(void)const " (?GetBuildCostGoods@UBuildableEntity@@QEBA?AV?$TMap@W4EGoodTypeCpp@@MVFDefaultSetAllocator@@U?$TDefaultMapHashableKeyFuncs@W4EGoodTypeCpp@@M$0A@@@@@XZ) referenced in function "public: static void __cdecl UBuildableEntity::execGetBuildCostGoods(class UObject *,struct FFrame &,void * const)" (?execGetBuildCostGoods@UBuildableEntity@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: bool __cdecl UBuildingProduction::GetCanProduce(void)" (?GetCanProduce@UBuildingProduction@@QEAA_NXZ) referenced in function "public: static void __cdecl UBuildingProduction::execGetCanProduce(class UObject *,struct FFrame &,void * const)" (?execGetCanProduce@UBuildingProduction@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: bool __cdecl UBuildingProduction::CanOutputToIslandStorage(void)" (?CanOutputToIslandStorage@UBuildingProduction@@QEAA_NXZ) referenced in function "public: static void __cdecl UBuildingProduction::execCanOutputToIslandStorage(class UObject *,struct FFrame &,void * const)" (?execCanOutputToIslandStorage@UBuildingProduction@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: bool __cdecl UBuildingProduction::GetIsInputMaterialNeeded(void)" (?GetIsInputMaterialNeeded@UBuildingProduction@@QEAA_NXZ) referenced in function "public: static void __cdecl UBuildingProduction::execGetIsInputMaterialNeeded(class UObject *,struct FFrame &,void * const)" (?execGetIsInputMaterialNeeded@UBuildingProduction@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: bool __cdecl UBuildingProduction::GetIsDisabled(void)" (?GetIsDisabled@UBuildingProduction@@QEAA_NXZ) referenced in function "public: static void __cdecl UBuildingProduction::execGetIsDisabled(class UObject *,struct FFrame &,void * const)" (?execGetIsDisabled@UBuildingProduction@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: bool __cdecl UBuildingProduction::CanConsumeInputs(void)" (?CanConsumeInputs@UBuildingProduction@@QEAA_NXZ) referenced in function "public: static void __cdecl UBuildingProduction::execCanConsumeInputs(class UObject *,struct FFrame &,void * const)" (?execCanConsumeInputs@UBuildingProduction@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "protected: bool __cdecl UBuildingProduction::TryConsumeInputs(void)" (?TryConsumeInputs@UBuildingProduction@@IEAA_NXZ) referenced in function "public: static void __cdecl UBuildingProduction::execTryConsumeInputs(class UObject *,struct FFrame &,void * const)" (?execTryConsumeInputs@UBuildingProduction@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "protected: bool __cdecl UBuildingProduction::TryOutputToStorage(void)" (?TryOutputToStorage@UBuildingProduction@@IEAA_NXZ) referenced in function "public: static void __cdecl UBuildingProduction::execTryOutputToStorage(class UObject *,struct FFrame &,void * const)" (?execTryOutputToStorage@UBuildingProduction@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: float __cdecl UBuildingWithUpkeep::GetEfficiency(void)const " (?GetEfficiency@UBuildingWithUpkeep@@QEBAMXZ) referenced in function "public: static void __cdecl UBuildingWithUpkeep::execGetEfficiency(class UObject *,struct FFrame &,void * const)" (?execGetEfficiency@UBuildingWithUpkeep@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: float __cdecl UBuildingWithUpkeep::GetWorkforceEfficiency(void)const " (?GetWorkforceEfficiency@UBuildingWithUpkeep@@QEBAMXZ) referenced in function "public: static void __cdecl UBuildingWithUpkeep::execGetWorkforceEfficiency(class UObject *,struct FFrame &,void * const)" (?execGetWorkforceEfficiency@UBuildingWithUpkeep@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  unresolved external symbol "public: int __cdecl UBuildingWithUpkeep::GetBaseMoneyUpkeep(void)const " (?GetBaseMoneyUpkeep@UBuildingWithUpkeep@@QEBAHXZ) referenced in function "public: static void __cdecl UBuildingWithUpkeep::execGetBaseMoneyUpkeep(class UObject *,struct FFrame &,void * const)" (?execGetBaseMoneyUpkeep@UBuildingWithUpkeep@@SAXPEAVUObject@@AEAUFFrame@@QEAX@Z)
  21 unresolved externals
  Microsoft.MakeFile.targets(46, 5): [MSB3073] The command "C:\WINDOWS\System32\chcp.com 65001 >NUL 
 "C:\Program Files\Epic Games\UE_4.25\Engine\Build\BatchFiles\Build.bat" SurvivalBuilder Win64 DebugGame -Project="C:\Users\Henrik\Documents\Unreal Projects\SurvivalBuilder\SurvivalBuilder.uproject" -WaitMutex -FromMsBuild" exited with code 6.

After hours and hours i finally found out that using FORCEINLINE on these functions was my problem (however i still don’t know why exactly that doesn’t work). Removing the macro from the functions did solve my issue.