Since 4.25 HotReload doesn’t work properly. Everytime when I compile a project in Visual Studio or inside UE4 Editor I’ve got a crash with the following CallStack and Exception
Unhandled exception at 0x00007FF9AC0F0DA8 (UE4Editor-CoreUObject.dll) in UE4Minidump.dmp: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. occurred
[Inline Frame] UE4Editor-CoreUObject.dll!FField::HasAnyCastFlags(const unsigned __int64) Line 499 C++
[Inline Frame] UE4Editor-CoreUObject.dll!CastField(FField *) Line 796 C++
[Inline Frame] UE4Editor-CoreUObject.dll!TFieldPath::{ctor}(FField * InProperty, TFieldPath::EDummy1) Line 325 C++
UE4Editor-CoreUObject.dll!FPropertyProxyArchive::operator<<(FField * & Value) Line 45 C++
[Inline Frame] UE4Editor-CoreUObject.dll!operator<<(FArchive &) Line 93 C++
UE4Editor-CoreUObject.dll!UStruct::SerializeExpr(int & iCode, FArchive & Ar) Line 222 C++
UE4Editor-CoreUObject.dll!UStruct::SerializeExpr(int & iCode, FArchive & Ar) Line 314 C++
UE4Editor-CoreUObject.dll!UStruct::Serialize(FArchive & Ar) Line 1925 C++
UE4Editor-CoreUObject.dll!UFunction::Serialize(FArchive & Ar) Line 5555 C++
[Inline Frame] UE4Editor-HotReload.dll!FHotReloadModule::ReplaceReferencesToReconstructedCDOs::__l2::FFindRefTask::DoWork() Line 983 C++
UE4Editor-HotReload.dll!FAsyncTask<FHotReloadModule::ReplaceReferencesToReconstructedCDOs'::
2’::FFindRefTask>::DoWork() Line 271 C++
UE4Editor-HotReload.dll!FAsyncTask<FHotReloadModule::ReplaceReferencesToReconstructedCDOs'::
2’::FFindRefTask>::DoThreadedWork() Line 296 C++
UE4Editor-Core.dll!FQueuedThread::Run() Line 855 C++
UE4Editor-Core.dll!FRunnableThreadWin::Run() Line 86 C++
UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() Line 35 C++