4.25 Transition Guide

Any ideas how to fix this kind of error:


Assertion failed: !Obj->HasAnyFlags(RF_NeedLoad) [File:D:/Build/++UE4+Licensee/Sync/Engine/Source/Runtime/Engine/Private/Animation/AnimCompressionTypes.cpp] [Line: 403] Failed to load AnimBoneCompressionSettings /Engine/Animation/DefaultAnimBoneCompressionSettings.DefaultAnimBoneCompressionSettings in AnimSequence /Game/Run/Animations/Movement/Idle.Idle


AnimCompressionTypes.cpp at 403 https://github.com/EpicGames/UnrealE…ssionTypes.cpp


 [TABLE]

template void FUECompressedAnimData::ByteSwapData(TArrayView<uint8> CompressedData, FMemoryReader& MemoryStream);
 		

 
 			template void FUECompressedAnimData::ByteSwapData(TArrayView<uint8> CompressedData, FMemoryWriter& MemoryStream);
 		

 
 			 
 		

 
 			void ValidateUObjectLoaded(UObject* Obj, UObject* Source)
 		

 
 			{
 		

 
 			#if WITH_EDITOR
 		

 
 			if (FLinkerLoad* ObjLinker = Obj->GetLinker())
 		

 
 			{
 		

 
 			ObjLinker->Preload(Obj);
 		

 
 			}
 		

 
 			#endif
 		

 
 			checkf(!Obj->HasAnyFlags(RF_NeedLoad), TEXT("Failed to load %s in %s"), *Obj->GetFullName(), *Source->GetFullName()); // in non editor should have been preloaded by GetPreloadDependencies
 		

 
 			}
 		

 

Looks like GetPreloadDependencies is not properly preloading?