RunUAT.bat ERROR: [Blueprint Project]

Hey,

I’ve seen alot of similar posts talking about VS (Visual Studio) projects and how to correct the problem using that software, but seen as this is a blueprint only project I am struggling to get it to cook or package.

I have changed my “GlobalGameMode” as mentioned before, I tried running RunUAT on its own but it produces red text and instantly crashes so im not sure where the issue lies.

Here is a copy of my log when I tried cooking,
Another for when i tried Packaging.

They are contained in this .rar for some reason I couldn’t upload a .txt as an attachment :

I have also attached a picture of the RunUAT.bat depicting the errors it produces:

Here is some Logs from the project being stripped down to its potential errors, which seem to reside in the Meshes, Textures, Blueprints, Materials folder otherwise without them the project can cook without fail even though the map contains no assets and Fails to Load.

I have fixed the Issue
I will post my long list of trial and error here soon.


HOW TO FIX

*This fix will only work for blueprint only games as this was the kind of Project i was making when the issue occurred *

  • Begin by creating a new BLANK project
  • Test that your UE4 build is Valid by Cooking and Packaging this project
    IF this works then you can continue, if not considering RE-INSTALLING UE4

This part is the trickiest if the issue lies in a file/folder/Blueprint but if your lucky its just a weird project issue

  • Begin by copying one folder of your Project at a time to the NEW BLANK PROJECT
  • I began with Maps
  • Cook the BLANK PROJECT and Package
  • IF this works then continue with the next folder, if not consider a closer examination of Folder/File in question ( in this case maps)
  • Continue this process until you have all Files back in their proper place.
  • Your project should now cook and package succesfully

IF THIS DID NOT WORK THERE IS ONE LAST FIX

  • Begin by taking your current Map and copying ONLY THIS MAP to the new blank project
  • This will leave you with Example_Map and Your_Map in the new BLANK PROJECT
  • From here delete/Backup Example_Map and RESAVE your CURRENT map as Example_Map
  • This should allow it to work with the default Project Settings of this new BLANK PROJECT

IF THIS STILL FAILS

  • Consider cooking all folders par your Blueprint ones

  • Import each Blueprint ONE BY ONE and COOK and COMPILE

*** THIS WILL CORRUPT YOUR BLUEPRINTS SO HAVE A BACKUP***

  • After they are all back in and the project Cooks/Packages then replace them with their UNCORRUPT versions from your PREVIOUS PROJECT

  • They should now cook and package without an issue


Best of Luck