Package error: Problem with names and characters

I’m new on UE4 and am trying to package my game to test a level.

Can you help me to solve this problem?

This is the warning error summary,

Warning/Error Summary (Unique only)
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.00:814][ 0]LogInit:Display: -----------------------------------
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:079][ 0]LogInit:Display: LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~2’ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: ~
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:080][ 0]LogInit:Display: LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~1’ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: ~
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:081][ 0]LogInit:Display: LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Game/PROJETO/PRINCIPAL/Armas/Gun1/GUNREL~1’ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: ~
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:081][ 0]LogInit:Display: LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Game/PROJETO/PRINCIPAL/Armas/Gun1/GUNPIC~1’ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: ~
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:082][ 0]LogInit:Display: LogBlueprint:Warning: [Elevator] ‘Widget’ variable not found. Base class was probably changed.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:083][ 0]LogInit:Display: CookResults:Warning: Warning Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~2
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:084][ 0]LogInit:Display: LogCook:Warning: Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~2
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:084][ 0]LogInit:Display: CookResults:Warning: Warning Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~1
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:084][ 0]LogInit:Display: LogCook:Warning: Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~1
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:084][ 0]LogInit:Display: CookResults:Warning: Warning Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun1/GUNREL~1
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:085][ 0]LogInit:Display: LogCook:Warning: Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun1/GUNREL~1
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:085][ 0]LogInit:Display: CookResults:Warning: Warning Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun1/GUNPIC~1
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:085][ 0]LogInit:Display: LogCook:Warning: Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun1/GUNPIC~1
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:086][ 0]LogInit:Display: LogLinker:Warning: Asset ‘D:/BACKUP_UNREAL/BACKUP-15-01-2017/OutroProjetoEmThir 4.15/Content/PROJETO/Levels/PRINCIPAL/Materials/Materials/MF_ConvolveTextureObject.uasset’ has been saved with empty engine version. The asset will be loaded but may be incompat
ible.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:087][ 0]LogInit:Display:
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:088][ 0]LogInit:Display: Failure - 4 error(s), 10 warning(s)
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.16.01:088][ 0]LogInit:Display:
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd:
PackagingResults:Warning: Warning Warning Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~2
PackagingResults:Warning: Warning Warning Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~1
PackagingResults:Warning: Warning Warning Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun1/GUNREL~1
PackagingResults:Warning: Warning Warning Unable to find package for cooking /Game/PROJETO/PRINCIPAL/Armas/Gun1/GUNPIC~1

It looks like you have some directories with ~ in the name. Are you by any chance running this off a FAT32 filesystem that’s a backup of an NTFS filesystem?

Hello Neri Neto,

This is the main error in your log, although it applies to other files as well:

LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: ‘/Game/PROJETO/PRINCIPAL/Armas/Gun2Pistolas/Sounds/DESERT~2’ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: ~

You cannot include a tilde (~) in your filenames. Usually the editor would stop you from including this when naming your files but if they were added manually or changed manually in your file explorer, the editor cannot catch it and thus throws these errors when you attempt to package. Please remove the tildes from your file names and attempt to package again.

Hello! Thanks for reply. I delete the Intermediate, Saved and Config pastes and then the errors change. I actually deleted those files and for some reason they continued to appear. Now I have theses warnings and the package still fail:

LogBlueprint:Warning: [Elevator] ‘Widget’ variable not found. Base class was probably changed.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.55.39:841][ 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object ‘Object /Game/InfinityBladeEffects/Effects/FX_Meshes/Smoke/m_FogSheet_02.’
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.55.39:841][ 0]LogInit:Display: LogPhysics:Warning: FConstraintInstance::GetRefFrame : Contained scale.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2017.02.23-19.55.39:841][ 0]LogInit:Display: LogDerivedDataCache:Warning: C:/Users/Neri Neto/AppData/Local/UnrealEngine/Common/DerivedDataCache is very slow (0.47MB/s) when accessing C:/Users/Neri Neto/AppData/Local/UnrealEngine/Common/DerivedDataCache/0/8/2/TEXTURE_814DCC3DC72143F49509781513CB9855_BG
RA8_575067B14337AB32ED9A558CEA0BB80__01AA6635F93269C4D1A25C6330666358FD5114FD.udd, consider disabling it.

Thanks for the reply! I delete the Intermediate, Saved and Config pastes and then the errors change. I actually deleted those files before and for some reason they continued to appear. Now this is fixed but there is new error packages.

The error message seems fairly straightforward. It seems that it’s trying to find a variable in your Elevator asset named Widget but it doesn’t exist. As it suggests, is it possible that Elevator used to inherit from something that included a Widget variable that it no longer inherits from? Possibly the class it inherits from no longer has that variable?

Edit: None of these are error messages actually, they’re only warnings and shouldn’t block your packaging attempts. Could you supply the full log file?

Ok, about the elevator: yes there is a Widget! I will figure out what is about. But I don’t know about the packaging error. I install all requirements of unreal install menu, dele the saves and everything, move to a new empty project, etc. Where can I find the log? Sorry, I’m kind noob.

link text

Here is the log, thanks for helping me

Thank you for the log. As a new user, I know logs can look daunting and pretty confusing but one of the most common ways to find issues in a log file is to do a search (ctrl+f) for the word “Error”. This can usually point you towards the errors in your log file. Doing that with this file helped me find this error:

[2017.02.23-19.44.21:868][139]UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Unable to deploy AppLocalDirectory dependencies. No such path: D:\BACKUP_UNREAL\BACKUP-15-01-2017\OutroProjetoEmThir 4.15\CookPackage\Pre-requisites\Win64

From googling the generic part of the error message, I came across this post which should be able to help with this one.

I then found this error:

[2017.02.23-19.49.03:668][920]MaterialEditorStats:Error: Error [SM5] (Node TextureSample) TextureSample> Sampler type is Normal, should be Color for /Game/PROJETO/MAPAS/PRISÃO/Celas/Banheiro/Old_Painted_Table_Bump_Map.Old_Painted_Table_Bump_Map

This one seems fairly straightforward as well, it seems that the Sampler type needs to be changed from Normal to Color.

It works! Thanks a million!

I delete what was inside of: C:/users/(my_user_name)/AppData/Local/UnrealEngine/Common/DreivedDataCache

Once more, thanks!