Description

This is a common crash that has occurred for users since at least 4.16.

User Descriptions

  • Using the PIE i compiled some c++ then quit the PIE before the end of the compilation.

Source Context

  359       	/** Memory writer archive that supports UObject values the same way as FCDOWriter. */
  360       	class FPropertyValueMemoryWriter : public FMemoryWriter
  361       	{
  362       	public:
  363       		FPropertyValueMemoryWriter(TArray<uint8>& OutData)
  364       			: FMemoryWriter(OutData)
  365       		{}
  366       		virtual FArchive& operator<<(class UObject*& InObj) override
  367       		{
  368       			FArchive& Ar = *this;
  369       			if (InObj)
  370       			{
  371 ***** 				FName ClassName = InObj->GetClass()->GetFName();
  372       				FName ObjectName = InObj->GetFName();
  373       				Ar << ClassName;
  374       				Ar << ObjectName;
Steps to Reproduce

repro steps currently unknown

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_HotReload!`FHotReloadClassReinstancer::UpdateDefaultProperties'::`2'::FPropertyValueMemoryWriter::operator<<() [hotreloadclassreinstancer.cpp:372]
UE4Editor_CoreUObject!UObjectProperty::SerializeItem() [propertyobject.cpp:56]
UE4Editor_HotReload!FHotReloadClassReinstancer::UpdateDefaultProperties() [hotreloadclassreinstancer.cpp:515]
UE4Editor_HotReload!FHotReloadModule::ReinstanceClass() [hotreload.cpp:1279]
UE4Editor_HotReload!FHotReloadModule::ReinstanceClasses() [hotreload.cpp:1262]
UE4Editor_HotReload!TBaseRawMethodDelegateInstance<0,FHotReloadModule,void __cdecl() [delegateinstancesimpl.h:648]
UE4Editor_CoreUObject!TBaseMulticastDelegate<void>::Broadcast() [delegatesignatureimpl.inl:937]
UE4Editor_CoreUObject!UClassReplaceHotReloadClasses() [uobjectbase.cpp:746]
UE4Editor_CoreUObject!ProcessNewlyLoadedUObjects() [uobjectbase.cpp:899]
UE4Editor_CoreUObject!TBaseStaticDelegateInstance<void __cdecl() [delegateinstancesimpl.h:1027]
UE4Editor_Core!TBaseMulticastDelegate<void>::Broadcast() [delegatesignatureimpl.inl:937]
UE4Editor_Core!FModuleManager::LoadModuleWithFailureReason() [modulemanager.cpp:479]
UE4Editor_Core!FModuleManager::LoadModule() [modulemanager.cpp:338]
UE4Editor_HotReload!FHotReloadModule::DoHotReloadInternal() [hotreload.cpp:864]
UE4Editor_HotReload!UE4Function_Private::TFunctionRefCaller<<lambda_65e31c59b758d14e2b26086c892be1a2>,void __cdecl() [function.h:245]
UE4Editor_HotReload!FHotReloadModule::CheckForFinishedModuleDLLCompile() [hotreload.cpp:1949]
UE4Editor_HotReload!FHotReloadModule::Tick() [hotreload.cpp:602]
UE4Editor_UnrealEd!UEditorEngine::Tick() [editorengine.cpp:1239]
UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [unrealedengine.cpp:386]
UE4Editor!FEngineLoop::Tick() [launchengineloop.cpp:3119]
UE4Editor!GuardedMain() [launch.cpp:166]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:134]
UE4Editor!WinMain() [launchwindows.cpp:210]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:253]
kernel32!BaseThreadInitThunk()
ntdll!RtlUserThreadStart()

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-49772 in the post.

1
Login to Vote

Won't Fix
ComponentUE - Foundation - Core - UObject
Affects Versions4.164.174.184.194.204.214.22
CreatedSep 14, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021