Unknown Packaging Error Possibly Linked to LogPackageName Warning

Hello everyone,

I’m currently experiencing an issue while packaging my project where I receive an ‘Unknown Error’. I’ve noticed a recurring warning in the logs that I suspect could be related:

"LogPackageName: Warning: DoesPackageExist called on PackageName that will always return false. Reason: Input ’ ’ was empty. "

It seems that the function DoesPackageExist is being called with an empty string as the package name, which understandably results in a warning as it will always return false. However, I’m unsure as to where or why this is happening within my project.

I’m particularly concerned as I’m speculating that this warning might be linked to the ‘Unknown Error’ I encounter during the packaging process.

So I have a few specific questions:

  1. Could this warning be the cause of my packaging issue?
  2. If so, how might I go about locating where the DoesPackageExist function is being called with an empty string within my project?
  3. Are there any recommended strategies for debugging and resolving this problem?

I would really appreciate any insights, suggestions, or advice you could provide.

Greetings @Memeready

I’m sorry to hear that you’re running into problems. I’ve saw some posts on this same error recently from other users. I did track down this post where some of them seem to have found a work around for it. I hope this helps!

1 Like

Thank you so much FrostyJas. I haven’t found the solution in the post yet but I will be keep checking and hope for a solution. Lots of help thanks again!

I see! I definitely want to try to ensure we find a solution. Have you tried deleting the files in ‘C:\Users\AppData\Local\UnrealEngine’, by chance? I saw a couple of users who were able to resolve this by doing so. It was stated that it was caused by a conflict between the cache generated by the new version of Unreal Engine and the cache from the old version.

They removed the files/folders from there and it resolved the problem. If you do go that route, I would instead of deleting the files/folder, perhaps just transfer them to a folder on your desktop instead of deleting them. That way you can restore them back if the issue is not resolved and you won’t lose any of the settings from there.

2 Likes