This Jira was created from CrashReports submitted by the public due to the high number of occurrences.
Error message:
Access violation - code c0000005 (first/second chance not available)
Source Context:
45 } 46 if (!ObjectA || !ObjectB) 47 { 48 return false; 49 } 50 // Compare actual pointers. We don't do this during PIE because we want to be sure to serialize everything. An example is the LevelScriptActor being serialized against its CDO, 51 // which contains actor references. We want to serialize those references so they are fixed up. 52 const bool bDuplicatingForPIE = (PortFlags&PPF_DuplicateForPIE) != 0; 53 bool bResult = !bDuplicatingForPIE ? (ObjectA == ObjectB) : false; 54 // always serialize the cross level references, because they could be NULL 55 // @todo: okay, this is pretty hacky overall - we should have a PortFlag or something 56 // that is set during SavePackage. Other times, we don't want to immediately return false 57 // (instead of just this ExportDefProps case) 58 // instance testing 59 ***** if (!bResult && ObjectA->GetClass() == ObjectB->GetClass()) 60 { 61 bool bPerformDeepComparison = (PortFlags&PPF_DeepComparison) != 0; 62 if ((PortFlags&PPF_DeepCompareInstances) && !bPerformDeepComparison) 63 { 64 bPerformDeepComparison = ObjectA->IsTemplate() != ObjectB->IsTemplate(); 65 } 66 67 if (!bResult && bPerformDeepComparison) 68 { 69 // In order for deep comparison to be match they both need to have the same name and that name needs to be included in the instancing table for the class 70 if (ObjectA->GetFName() == ObjectB->GetFName() && ObjectA->GetClass()->GetDefaultSubobjectByName(ObjectA->GetFName())) 71 { 72 checkSlow(ObjectA->IsDefaultSubobject() && ObjectB->IsDefaultSubobject() && ObjectA->GetClass()->GetDefaultSubobjectByName(ObjectA->GetFName()) == ObjectB->GetClass()->GetDefaultSubobjectByName(ObjectB->GetFName())); // equivalent 73 bResult = AreInstancedObjectsIdentical(ObjectA,ObjectB,PortFlags); 74 }
Most recent user affected CL: 3172292
Logs:
[Link Removed]
[Link Removed]
Repro steps unknown
UE4Editor_CoreUObject!UObjectPropertyBase::Identical() [propertybaseobject.cpp:60] UE4Editor_CoreUObject!UStruct::SerializeTaggedProperties() [class.cpp:1119] UE4Editor_CoreUObject!UObject::SerializeScriptProperties() [obj.cpp:1079] UE4Editor_CoreUObject!UObject::Serialize() [obj.cpp:1018] UE4Editor_CoreUObject!StaticDuplicateObjectEx() [uobjectglobals.cpp:1989] UE4Editor_CoreUObject!StaticDuplicateObject() [uobjectglobals.cpp:1895] UE4Editor_CoreUObject!UClassGenerateCDODuplicatesForHotReload() [uobjectbase.cpp:717] UE4Editor_CoreUObject!ProcessNewlyLoadedUObjects() [uobjectbase.cpp:817] UE4Editor_CoreUObject!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1017] UE4Editor_Core!TBaseMulticastDelegate<void>::Broadcast() [delegatesignatureimpl.inl:921] UE4Editor_Core!FModuleManager::LoadModuleWithFailureReason() [modulemanager.cpp:461] UE4Editor_Core!FModuleManager::LoadModule() [modulemanager.cpp:322] UE4Editor_HotReload!FHotReloadModule::DoHotReloadInternal() [hotreload.cpp:828] UE4Editor_HotReload!UE4Function_Private::TFunctionRefCaller<<lambda_845f9b2944b03bbc30be1e1f4a8d7f4b>,void __cdecl() [function.h:246] UE4Editor_HotReload!FHotReloadModule::CheckForFinishedModuleDLLCompile() [hotreload.cpp:1877] UE4Editor_HotReload!FHotReloadModule::Tick() [hotreload.cpp:566] UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1020] UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:371] UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:2834] UE4Editor!GuardedMain() [launch.cpp:156] UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126] UE4Editor!WinMain() [launchwindows.cpp:202] UE4Editor!__scrt_common_main_seh() [exe_common.inl:264] kernel32!<Unknown> ntdll!<Unknown>
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-38763 in the post.
2 |
Component | UE - Foundation - Cpp Tools - Hot Reload |
---|---|
Affects Versions | 4.13, 4.14, 4.15, 4.16, 4.17 |
Target Fix | 4.19 |
Created | Nov 17, 2016 |
---|---|
Resolved | Jan 11, 2018 |
Updated | Apr 12, 2018 |