Build failed, 64-bit windows

After making a number of updates the packaging failed and I can’t seem to figure out why. Any help would be greatly appreciated.link text

Exitcode=25

and

at
AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)

Have been coming up ** ALOT ** since 4.9.* was released. IT caused 10% of september gamejam entries to not be entered because they would not package. Including mine.

Some users have traced it down to a few things

  • Try shorter directories. Move your project to C:\aa\ and cook/package to C:\ck\ Shorten long directories in your content browser IE move stuff from /Content/Animations/Characters/Humans/NonPlayerCharacters/Faction1/BlueTeam/Type1/LocomotionAnims/blendspace1d_idlletowalktorunBS.uasset to shorter folders.
  • Make sure you get no errors when running your game.
  • Build lighting in all levels.
  • Makesure your c++ redist and .net redist are up to date and make sure you have old ones installed too.
  • Make sure your on an administrator account
  • Some content (about 25%) from pre 4.9.0 migrated/moved/imported to 4.9.* will cause it to fail.

If that doesnt help, youll have to wait for a hotfix or 4.10 and move back to 4.8.3 in the meantime as many of us have.

Hope this helps
Don’t forget to accept an answer that best clears your question up or answers it so when the community finds your question in the future via search/google they know exactly what you did to fix it/get it going.

Thanks a lot for the response. AutomationTool gives me a place to start looking. I’m running in 4.8 though. I may even try to update to 4.9 and jsut see what happens.

It’s all blueprints. I’ll go back and try to add isValid to all the things I changed. It runs fine in the editor but I know that doesn’t mean much.

I suggest against it. 4.9.* is having the worst packaign errors I’ve since inUnreal Engine history. You could try making sure that all the files in C:/program files/epic games/ is NOT read-only and that the UBT and UAT are set to “Run as Administrator” but this is a common issue.

If you search google for “exit code 25 unreal engine” or “package directory failed” etc. you’ll find all the posts on the forums and answerhub recently.

Is it a BP only project? We had some success by going and adding isValid? nodes all over the place and checking all our blueprints to make sure they were 100% perfect, no failed casts etc… Not a single error or warning during hours of playtesting.

If its c++ it couild be as simple as a spelling mistake…

Still can’t figure this out. Is there a place where it saved the last successful build log? Just something to compare

Wow, I found it.

LogCook:Error: Error loading G:/Unreal Projects/CatInterstellar/Content/Props/Fusebox_01.uasset!

deleted the Fusebox uasset in windows explorer and it worked. Note to self:
Look for “Warning/Error Summary”
The errors are first and those are what are breaking it.