Developer Notes

Improper struct initialization

Description

Attempting to compile anything in the editor (blueprint, widget, level bp, etc) will cause the editor to crash.

Project Link:
[Link Removed]

Crash Reporter:
[Link Removed]

Note
This has only been reproduced in the project supplied by Dirt113. This has not been reproduced in a clean, local project

Steps to Reproduce
  1. Download project from Box (link in description)
  2. If project does not open in 4.8 (default engine version) Switch engine version to 4.7 and open .uproject
  3. Add new blueprint based on Actor
  4. Open new blueprint and press the compile button

Result:
Editor will crash immediately

Callstack
MachineId:9FA88CA44B7C623122B0039D6C8BA1B0
EpicAccountId:c807849e05a0413d99e379f2802cae9c

Unknown exception - code 00000001 (first/second chance not available)

Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp] [Line: 274] 
Invalid object in GC: 0x000007fecad6ea2f, ReferencingObject: DHCharacter //Script//DistantH

KERNELBASE + 46045 bytes
UE4Editor_Core!FOutputDeviceWindowsError::Serialize() + 292 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsplatformoutputdevices.cpp:95]
UE4Editor_Core!FMsg::Logf__VA() + 463 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\misc\outputdevice.cpp:531]
UE4Editor_CoreUObject!FGCCollector::HandleObjectReference() + 296 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\garbagecollection.cpp:271]
UE4Editor_CoreUObject!FSimpleObjectReferenceCollectorArchive::operator<<() + 77 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\public\uobject\garbagecollection.h:460]
UE4Editor_CoreUObject!UObjectProperty::SerializeItem() + 55 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\propertyobject.cpp:32]
UE4Editor_CoreUObject!UStruct::SerializeBin() + 254 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\class.cpp:715]
UE4Editor_CoreUObject!UStructProperty::SerializeItem() + 499 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\propertystruct.cpp:141]
UE4Editor_CoreUObject!UStruct::SerializeBin() + 254 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\class.cpp:715]
UE4Editor_CoreUObject!UStructProperty::SerializeItem() + 499 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\propertystruct.cpp:141]
UE4Editor_CoreUObject!UStruct::SerializeBin() + 254 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\class.cpp:715]
UE4Editor_CoreUObject!UObject::SerializeScriptProperties() + 410 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\obj.cpp:913]
UE4Editor_CoreUObject!UObject::AddReferencedObjects() + 374 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\garbagecollection.cpp:1223]
UE4Editor_CoreUObject!FArchiveRealtimeGC::ProcessObjectArray() + 7509 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\coreuobject\private\uobject\garbagecollection.cpp:707]
UE4Editor_CoreUObject!TGraphTask<FArchiveRealtimeGC::FGCTask>::ExecuteTask() + 453 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\public\async\taskgraphinterfaces.h:671]
UE4Editor_Core!FTaskThread::ProcessTasks() + 3125 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\async\taskgraph.cpp:428]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() + 77 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\async\taskgraph.cpp:271]
UE4Editor_Core!FTaskThread::Run() + 11 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\async\taskgraph.cpp:562]
UE4Editor_Core!FRunnableThreadWin::Run() + 102 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:73]
UE4Editor_Core!FRunnableThreadWin::GuardedRun() + 93 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.7\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:26]
kernel32 + 88653 bytes
ntdll + 178225 bytes

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Foundation - Core
Affects Versions4.7.64.8.34.9.2
Target Fix4.11
CreatedNov 6, 2015
ResolvedFeb 29, 2016
UpdatedFeb 5, 2017
View Jira Issue