Search code examples
unreal-engine5unreal-blueprint

Unreal Engine Pakaging Error: LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input''was empty


So I have created a game in Unreal engine 5.2 and want to package it but it gives the error :
" LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input '' was empty. "
Does anyone have a solution for it?

I tried deleting derived data save, saved, and intermediate but no luck.


Solution

  • found this @unrealengine.com forum

    So I cracked out on the engine code and was able to track down the actual cause of the error. It ended up being a caching system error trying to point to a reference from the old engine cache that was now invalid. I was able to fully fix the issue by clearing/deleting the project build/temp data not only in the project folder, but also in the AppData/Local folder. After that I rebuilt the project files and the error does not happen anymore in any system. If after doing any of this you get crashes just validate the assets in the Asset Actions menu and they will stop.