Editor Crashed on start

Hi all,
I made some name changes to my game, played fine then the next day when I loaded the editor it crashes.
Here is the debug code it spit out. any help would be greatly appreciated.

LoginId:e0a913a14bf64ad79f47638a536746ed
EpicAccountId:a1d0aedf5d464f78a957ab00dadcc44a

Fatal error: [File:D:\Build++UE4+Release-4.18+Compile\Sync\Engine\Source\Runtime\AssetRegistry\Private\PackageReader.cpp] [Line: 473] Bad name index 131072/217

UE4Editor_Core!FDebug::AssertFailed() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:414]
UE4Editor_AssetRegistry!FPackageReader::operator<<() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\assetregistry\private\packagereader.cpp:473]
UE4Editor_CoreUObject!operator<<() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\containers\array.h:1090]
UE4Editor_CoreUObject!operator<<() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\core\public\containers\sparsearray.h:477]
UE4Editor_CoreUObject!FLinkerTables::SerializeSearchableNamesMap() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\linker.cpp:111]
UE4Editor_AssetRegistry!FPackageReader::ReadDependencyData() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\assetregistry\private\packagereader.cpp:335]
UE4Editor_AssetRegistry!FAssetDataGatherer::ReadAssetFile() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\assetregistry\private\assetdatagatherer.cpp:865]
UE4Editor_AssetRegistry!FAssetDataGatherer::Run() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\assetregistry\private\assetdatagatherer.cpp:597]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

Hey there, first confirm that is an issue that only happens on your project. If it is, do you use blueprints or c++? Do you have an idea the part of the code that you’ve changed that could cause this issue?

Yup only on this project, I even tried upgrading to a new engine version (4.19) and starting the game and the same crash. All I changes in the game before it happened was the Level name, then I went to start up map in editor pref and set the newly named map as the startup editor map, very common stuff really.
My game is blueprints.

If you changed the level name it might have bugged out and trying to load the old map name. if you go to your Config\DefaultEngine, check these lines:

[/Script/EngineSettings.GameMapsSettings]
EditorStartupMap=/Game/Levels/ExampleMap.ExampleMap
GameDefaultMap=/Game/Levels/ExampleMap.ExampleMap

Hi,

Have you been able to solve this? I have the exact same issue. Fatal error in the package reader line 473 . Would badly need some guidance.
Thanks!

I’m glad it was useful :slight_smile:

HOLY CRAP! This is the fix for me!

UE somehow missed saving my map, that I set as default startup map. Now I changed line in the .ini file and it works!

Fixed this issue with UE 4.20.3, thanks a ton