I worked at a quiet big City Scene in UE5.2 and was importing KitBash Models when out of nowhere Unreal Engine Crashed. Since then I can´t open this Project anymore even if I set the map to start with to a other one in the DefaultEngine.ini file. I also tried opening it with DirectX11 to test if it is a drivers Problem but it still didn´t work. All other Projects of mine can be opened without a Problem.
Hey there @CedricO and @ehdrbfb ! Welcome back to the community! This is gonna be a fun one. So let’s start with what we know and work into an assumption.
The error Assertion failed: Header.Len != 0 is failing because it expected the Header that got passed in not to be 0. Since we know Fname is part of an Object’s data, we can assume that it could be literal in that an object is missing a name when queried, or is corrupted. This can also occur if your file paths are far too long (in total), though that has a different error usually attached.
Have you deleted/moved anything from the project outside of the editor?
How long is your largest named asset’s file path?
Are there any completely blank named assets that were imported? (this could be impossible to see from outside of the engine so don’t sweat it if you can’t tell.)
Was this project migrated or built in this version?
Have you deleted/moved anything from the project outside of the editor? -
Yes,
I lately copy and paste some level from outside because working level didn’t appear in contents browser.
But it won’t work either.
Then I tried to create new level and overwrite it. but it fails I guess
After that my editor crashes like that.
How long is your largest named asset’s file path? - Not too long it’s about 7~8 letters
Are there any completely blank named assets that were imported? - Nope
Was this project migrated or built in this version? -
Yes,
It is moved from 4.28 to 5.0 and last week changed it to 5.31, but at that time, it didn’t crashed. (bit minor errors is showing but still worked)
For this I’d use the Migration tool in the top left corner of the content browser, just because dragging and dropping things in from other projects can get a bit odd when the content needs to be checked over. Or if it’s missing but it was built in this project, I have fixes for that but we need to get in engine before they will work.
That’s probably just the asset name, but starting from the top of the drive for example:
If you use world partition or one file per actor without WP, your largest one will usually be in the external objects folder like this.
So we’re down to the less than fun portion of the troubleshooting. First back up your project somewhere safe, maybe twice just to be safe. Once you have, we’re going to go delete and regenerate some files.
Only do this after you have made a backup of your project.
Delete both the Intermediate and Saved folders, then try and open the project.
If it fails, revert back to your backup and let me know.
Hey thank you for the fast reply I sadly don´t know my longest file paths but I could imagine that while importing models, the import failed and the file was saved with no name or coruppted. Could something like that happen and if yes how can I detect/remove the corrupted asset without beeing able to open the Project? I assume it happened because of KitBahs models because sometimes UE crashes when Importing from Kitbash.
Interesting. You’re correct though, my last recommendation was just as you described, brute force and deleting the newest assets until you can launch. Though let’s try one more thing first. Could you open your DefaultEngine.ini and change the starter map to something like the built in minimal default or another map with little in it?
I changed to the Map and tried it out with and without the “Intermediate” and"Saved" folders deleted but still got the same crash report. Since this Problem occoured I also got UE4 crash reports out of nowhere, but I dont even have UE4 installed.