Fatal Error... FilenameToLongPackageName failed to convert.. anyone know why it happens?

Hey guys… I got this error when I tried to test my compiled game…

Anyone know about this?

1

I got a fix for this… But you need to download the Unreal Source and use Visual Studio

Little Tutorial

Open your Engine\Source\Runtime\CoreUObject\Private\Misc\PackageName.cpp

and find a function called: FString FPackageName::FilenameToLongPackageName(const FString& InFilename)

At the very beginning after the first “{” write this little piece of code:

if (InFilename.IsEmpty()){return “\n”;}

Save and compile your engine

After this just open the project and compile again =)

Thx for truefranco, for this help

https://www.reddit.com/r/unrealengine/comments/103yqzl/had_anyone_stuck_with_filenametolongpackagename/

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