Cannot Cook: 'None' is not a standard unreal filename

I’m getting the same error as:

But adding a ServerGameMode doesn’t fix the problem.
My game project cooks just fine in 4.11

How do I go about finding where this “None” package is coming from?

,

In order to better assist you, could you please upload your error logs as a .txt file so I can review them? Please also let me know whether or not you’re able to reproduce this in a blank project.

Thanks!

[link text][1]

105268-nbt2.log.txt (649 KB)

it doesn’t show up in the blank project - i’m basically looking for where to start in debugging my project. :slight_smile:

Here are the warnings/errors within your logs provided:

[2016.08.30-16.10.38:279][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:205][  0]LogInit:Display: Warning/Error Summary (Unique only)

[2016.08.30-16.10.38:279][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:206][  0]LogInit:Display: -----------------------------------

[2016.08.30-16.10.38:280][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:206][  0]LogInit:Display: LogPackageName:Error: DoesPackageExist: DoesPackageExist FAILED: 'None' is not a standard unreal filename or a long path name. Reason: Path should start with a '/'

[2016.08.30-16.10.38:280][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:206][  0]LogInit:Display: LogBlueprint:Warning: ValidateTemplates '/Game/Characters/Findelin/BP_Findelin01Armour01.BP_Findelin01Armour01_C:InheritableComponentHandler': overridden template is invalid - component 'Outline
[2016.08.30-16.10.38:280][301]UATHelper: Cooking (Windows): Mesh' from '/Game/Characters/Serafina/BP_Serafina01Armour01.BP_Serafina01Armour01_C'

[2016.08.30-16.10.38:280][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:207][  0]LogInit:Display: LogBlueprint:Warning: [Compiler UI_Login_Screen] Warning 'Item' is already a 'HUD Menu Bar', you don't need  K2Node_DynamicCast_1481 .

[2016.08.30-16.10.38:280][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:208][  0]LogInit:Display: LogBlueprint:Warning: [Compiler UI_Login_Screen] Warning [0012.57] Compile of UI_Login_Screen successful, but with 1 Warning(s) [in 3 ms] (/Game/UI_Menus/UI_Login_Screen.UI_Login_Screen)

[2016.08.30-16.10.38:280][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:208][  0]LogInit:Display: LogBlueprint:Warning: [Compiler UI_Login_Screen] Warning [0012.57] Compile of UI_Login_Screen successful, but with 2 Warning(s) [in 0 ms] (/Game/UI_Menus/UI_Login_Screen.UI_Login_Screen)

[2016.08.30-16.10.38:281][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:209][  0]LogInit:Display: LogBlueprint:Warning: [Compiler UI_Login_Screen] Warning [0012.57] Compile of UI_Login_Screen successful, but with 3 Warning(s) [in 0 ms] (/Game/UI_Menus/UI_Login_Screen.UI_Login_Screen)

[2016.08.30-16.10.38:281][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:209][  0]LogInit:Display: LogBlueprint:Warning: [Compiler UI_Login_Screen] Warning [0013.17] Compile of UI_Login_Screen successful, but with 1 Warning(s) [in 2 ms] (/Game/UI_Menus/UI_Login_Screen.UI_Login_Screen)

[2016.08.30-16.10.38:281][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:210][  0]LogInit:Display: LogBlueprint:Warning: [Compiler UI_Login_Screen] Warning [0013.17] Compile of UI_Login_Screen successful, but with 2 Warning(s) [in 0 ms] (/Game/UI_Menus/UI_Login_Screen.UI_Login_Screen)

[2016.08.30-16.10.38:281][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:211][  0]LogInit:Display: LogBlueprint:Warning: [Compiler UI_Login_Screen] Warning [0013.17] Compile of UI_Login_Screen successful, but with 3 Warning(s) [in 0 ms] (/Game/UI_Menus/UI_Login_Screen.UI_Login_Screen)

[2016.08.30-16.10.38:282][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:211][  0]LogInit:Display: CookResults:Warning: Warning Unable to find package for cooking None

[2016.08.30-16.10.38:282][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:211][  0]LogInit:Display: LogCook:Warning: Unable to find package for cooking None

[2016.08.30-16.10.38:282][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:212][  0]LogInit:Display: LogUObjectGlobals:Warning: Failed to find object 'Object /Script/NBT2.ChampionType'

[2016.08.30-16.10.38:282][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:212][  0]LogInit:Display: LogRedirectors:Warning: String Asset Reference '/Script/NBT2.ChampionType' was not found! (Referencer '/Game/Data/struct_Characters.struct_Characters:UserDefinedStructEditorData_0:SubCategoryObject')

[2016.08.30-16.10.38:282][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:213][  0]LogInit:Display: 

[2016.08.30-16.10.38:282][301]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.08.30-16.10.38:213][  0]LogInit:Display: Failure - 1 error(s), 13 warning(s)

Check your project settings to make sure the maps/gamemodes/etc are selected correctly. You also need to review your UI as it looks like some of the functions you’ve implemented seem to be duplicates.

Let me know if that does not resolve your packaging issue.

Thanks!

I ended up finding that DefaultGame.ini was causing the problem. Not completely sure what inside was doing it, and if I can reproduce it.

I’m glad you were able to resolve the issue. If you come across it again and can figure out some type of reproduction process to follow, that would be great.

Thanks!

How you did that?

For anyone who got here from searching “None’ is not a standard unreal filename or a long path name.”:

I was getting this error while trying to bake lighting from the command line. In my case it was because I was specifying the project file with the old -project=<path/to/project> flag instead of just UE4Editor.exe <path/to/project>.

It’s a pretty inscrutable error message but as far as I can tell it can come up if the command isn’t pointing to a project file at all.

Hi, could you help me? I have the same error “LogPackageName: Error: DoesPackageExist: DoesPackageExist FAILED: ‘None’ is not a standard unreal file name or a long path name. Reason: the path should start with a ‘/’,” and I don’t know how I can to solve it, I passed my project from version 4.18.3 to version 4.22.3, from there I can no longer package my project. Where can I make your solution in the engine?

I’m not sure I understand exactly what you’re seeing. Can you post the full command you are running? (rename/obfuscate anything in the command if you feel it’s private)