Assertion Failed - File is most likely corrupt?


Assertion failed: InPos <= Size [File:D:\Build\++UE4+Release-4.13+Compile\Sync\Engine\Source\Runtime\Core\Private\HAL\FileManagerGeneric.cpp] [Line: 617] 
Attempted to seek past the end of file (177636/343), file: ../../../../../../Users/r00049239/Desktop/- 0812/Content/Maps/robertkelleherassignment-21-12-16-VERSION4.umap. The file is most likely corrupt.

UE4Editor_Core!FDebug::AssertFailed() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:421]
UE4Editor_Core!FArchiveFileReaderGeneric::Seek() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\hal\filemanagergeneric.cpp:618]
UE4Editor_AssetRegistry!FPackageReader::ReadAssetRegistryData() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\assetregistry\private\packagereader.cpp:151]
UE4Editor_AssetRegistry!FAssetDataGatherer::ReadAssetFile() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\assetregistry\private\assetdatagatherer.cpp:820]
UE4Editor_AssetRegistry!FAssetDataGatherer::Run() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\assetregistry\private\assetdatagatherer.cpp:570]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build\++ue4+release-4.13+compile\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

Hey kelleherrob-

Can you provide any information on how this crash is occurring? If you’re able to reproduce the crash in a new project, please include the reproduction steps to help me test the issue locally. Additionally, you added the “marketplace content” tag, does that mean that this crash only occurred while using marketplace content or can you produce it with only the content provided with the editor?

Hi ,
The crash first occurred after an autosave i believe, I have assets & maps of my game saved at different times and dates for backup which are still present in my autosaves folder yet will not open in the engine.
I tried to reproduce the crash in a new project and it didn’t happen nor did it happen in levels which i had saved over a week ago, its only occurring with this particular level.
The “marketplace content” tag must have been included by mistake.Ive only been using provided editor content for my project.

Where exactly is this crash occurring? Is this when you click the Play button in the editor? Are you able to open the project/level in question? If so, can you check the level blueprint or level settings? Looking at the crash information, it appears to be attempting to from a file after reaching the end of the file. If you’re loading something from a file or accessing something outside of the game code / editor itself, let me know if removing this call/reference helps.

Hey kelleherrob-

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.