Assertion failed: bUncompressMemorySucceeded

Hello,

I’m encountering a critical issue with my project, Vahron (this one : vemio ).

Each time I attempt to drop an object into the scene, Unreal Engine crashes and displays the following error message:

LoginId:f82001014c7b3b1f8555a4ae63994d1d

EpicAccountId:3f1fe6586f7144019ed9bc66c83ec80c

Assertion failed: bUncompressMemorySucceeded [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/Serialization/Archive.cpp] [Line: 768] Failed to uncompress data in X:/Unreal Engin P/salvos/MyProject2/Content/ThirdPersonBP/Maps/ThirdPersonExampleMap.umap. Check log for details.

UE4Editor_Core

UE4Editor_Core

UE4Editor_Core

UE4Editor_Core

UE4Editor_CoreUObject

UE4Editor_CoreUObject

UE4Editor_CoreUObject

UE4Editor_CoreUObject

UE4Editor_Engine

UE4Editor_Landscape

UE4Editor_Landscape

UE4Editor_Landscape

UE4Editor_Engine

UE4Editor_Engine

UE4Editor_UnrealEd

UE4Editor_Engine

UE4Editor_Engine

UE4Editor_UnrealEd

UE4Editor_Engine

UE4Editor_UnrealEd

UE4Editor_UnrealEd

UE4Editor_UnrealEd

UE4Editor_UnrealEd

UE4Editor_LevelEditor

UE4Editor_LevelEditor

UE4Editor_Slate

UE4Editor_Slate

UE4Editor_UnrealEd

UE4Editor_LevelEditor

UE4Editor_Slate

UE4Editor_Slate

UE4Editor_Slate

UE4Editor_ApplicationCore

UE4Editor_ApplicationCore

UE4Editor_ApplicationCore

UE4Editor_ApplicationCore

user32

user32

UE4Editor_ApplicationCore

UE4Editor

UE4Editor

UE4Editor

UE4Editor

UE4Editor

UE4Editor

kernel32

ntdll

Here’s what I’ve tried so far:

  • Deleted: DerivedDataCache, Saved, and Intermediate folders
  • Copied and pasted an older version of the map from a backup
  • Verified the Unreal Engine installation
  • Uninstalled and reinstalled Unreal Engine and Epic Games Launcher

Edited the DefaultEngine.ini file in the project’s Config folder to set a different map as the default:
GameDefaultMap=/Game/AnotherMap

Everything was working fine until I restarted my PC. Now, I am unable to start the project because of the following error:

Error: Assertion failed: NumBytes == Strings.Num()

That one :

LoginId:f82001014c7b3b1f8555a4ae63994d1d

EpicAccountId:a52dc53b003142ed8cf5bad33305a781

Assertion failed: NumBytes == Strings.Num() [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/UObject/UnrealNames.cpp] [Line: 3336]

UE4Editor_Core

UE4Editor_Core

UE4Editor_Core

UE4Editor_Core

UE4Editor_Core

UE4Editor_AssetRegistry

UE4Editor_AssetRegistry

UE4Editor_Core

UE4Editor_Core

kernel32

ntdll

I found the solution here: Unreal Engine Forum Post (Assertion failed: NumBytes == Strings.Num()) by deleting CachedAssetRegistry.bin.

After that, the second issue was related to the current error with Assertion failed: bUncompressMemorySucceeded in the (ThirdPersonExampleMap.umap). However, I’m not sure if this problem arose due to an incorrect resolution of the (Assertion failed: NumBytes == Strings.Num()) error or if it’s actually the same issue.

If anyone has encountered a similar problem or can suggest further troubleshooting steps, your help would be invaluable.

Thank you very much in advance for your time and assistance.

The problem is solved, I don’t think there’s any miracle solution to a corrupted umap file, I simply had to recover the last automatic backup in saved/ from my umap.