x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

ERROR: System.ArgumentException: Empty path fragment in staged filesystem reference

After the 4.18 update I'm getting this annoying error when packaging. Did anyone else run into this problem?

 UATHelper: Packaging (Windows (64-bit)): ERROR: System.ArgumentException: Empty path fragment in staged filesystem reference (HideAndGoBoom/Content/)
 UATHelper: Packaging (Windows (64-bit)):           at StagedFileSystemReference..ctor(String Name)
 UATHelper: Packaging (Windows (64-bit)):           at StagedDirectoryReference..ctor(String Name)
 UATHelper: Packaging (Windows (64-bit)):           at StagedDirectoryReference.Combine(StagedDirectoryReference BaseDir, String[] Fragments)
 UATHelper: Packaging (Windows (64-bit)):           at Project.CreateStagingManifest(ProjectParams Params, DeploymentContext SC)
 UATHelper: Packaging (Windows (64-bit)):           at Project.CopyBuildToStagingDirectory(ProjectParams Params)
 UATHelper: Packaging (Windows (64-bit)):           at BuildCookRun.DoBuildCookRun(ProjectParams Params)
 UATHelper: Packaging (Windows (64-bit)):           at BuildCookRun.ExecuteBuild()
 UATHelper: Packaging (Windows (64-bit)):           at AutomationTool.BuildCommand.Execute()
 UATHelper: Packaging (Windows (64-bit)):           at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands)
 UATHelper: Packaging (Windows (64-bit)):           at AutomationTool.Automation.Process(String[] Arguments)
 UATHelper: Packaging (Windows (64-bit)):           at AutomationTool.Program.MainProc(Object Param)
 UATHelper: Packaging (Windows (64-bit)):           at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
 UATHelper: Packaging (Windows (64-bit)):           at AutomationTool.Program.Main()
 UATHelper: Packaging (Windows (64-bit)):        (see C:\Users\raspe\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE4+UE_4.18\UAT_Log.txt for full exception trace)
 UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
 UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
 PackagingResults: Error: Unknown Error
Product Version: UE 4.18
Tags:
more ▼

asked Oct 25 '17 at 07:55 PM in Packaging & Deployment

avatar image

Rasped
58 9 11 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Dunno if this helps!? I just had this issue after an upgrade to 4.17 and it turned out to be a blank array entry in my Project Settings > Packaging > 'Directories to never cook'. The error disappeared and built successfully as soon as I deleted the entry.alt text

more ▼

answered Oct 26 '17 at 04:51 PM

avatar image

XF11
46 6 2

avatar image Rasped Oct 27 '17 at 11:06 PM

You are a legend, I had one in "additional asset directories to cook".

avatar image Parvan Dec 13 '17 at 09:05 AM

How on earth did you find that!? I spent days trying to figure out what was going on. Thanks!!!

Silly me quickly checked for Directories Never To Cook a few days ago, but skipped looking at "Additional Asset Directories to Cook." My problem was also a blank array entry in "Additional Asset Directories to Cook" under Project Settings > Packaging.

avatar image XF11 Dec 13 '17 at 10:18 AM

haha pure luck really! (and a couple of hours of google searches and trial and error!) Glad it helped :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question