'FPlatformFileManager': is not a class or namespace name

Hi,

I’m trying to package a plug-in that has this line of code and throws the error shown in the topic.

FPakPlatformFile* PakFileMgr = (FPakPlatformFile*)(FPlatformFileManager::Get().FindPlatformFile(TEXT("PakFile")));

Packaging the complete project works without any problems, building it in VS is also not a problem.

The solution to include using System.IO; that I found is not working (anymore?) in 5.4.4.

Is there any solution to this?

Thanks,

Matthias

1 Like

Turns out it was as simple as adding these two includes explicetely:

#include "HAL\PlatformFileManager.h"
#include "Misc\PackageName.h"

Even if I don’t understand why this is additionally necessary when packaging a plug-in, it works.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.