PipeRift SaveExtension compile errors

Hi there! I’m trying to compile GitHub - PipeRift/SaveExtension: Provides UE4 with a save-game system with support for savegame tags, level streaming and more for UE 4.26. Seem like it’s compatible by code with 4.26 and seems project is a bit abandon. I don’t have any errors in IDE, but when I try to compile I get:

  unresolved external symbol "__declspec(dllimport) public: static class UClass * __cdecl UDeveloperSettings::StaticClass(void)" (__imp_?StaticClass@UDeveloperSettings@@SAPEAVUClass@@XZ) in function "public: static class UClass * __cdecl USaveSettings::StaticClass(void)" (?StaticClass@USaveSettings@@SAPEAVUClass@@XZ).

  unresolved external symbol  "__declspec(dllimport) public: __cdecl UDeveloperSettings::UDeveloperSettings(class FVTableHelper &)" (__imp_??0UDeveloperSettings@@QEAA@AEAVFVTableHelper@@@Z) in function "class UObject * __cdecl InternalVTableHelperCtorCaller<class USaveSettings>(class FVTableHelper &)" (??$InternalVTableHelperCtorCaller@VUSaveSettings@@@@YAPEAVUObject@@AEAVFVTableHelper@@@Z).

And many other related to all virtual methods of UDeveloperSettings. I have no clue how to fix it. Google says not much about that :frowning:

Maybe there are C++ guru who may lead me how to resolve this error? Seems like it common request but no solution yet (
Any help would be appreciated

Oh, lord…

   PrivateDependencyModuleNames.AddRange(
    			new string[]
    			{
    				...
    				"DeveloperSettings"
    				...
    			}
    			);

Original .cs file had it in PublicDependencyModuleNames section.

This have fixed the issue (Found it in other plugins). Could someone explain me what is the magic here?

Hey @Fenyx so does the latest github build work or not? What file did you have to edit to get it to work for 4.26 if it does not work by default?

Yes, it works. I’m using it in my project. Let me remember what I did. First copy master to Games/Plugins folder. In SaveExtension.Build.cs put “DeveloperSettings” in Public and Private. After that it should compile or at least have issues which easy to fix.