Developer Notes

Won't Fix. Caused by a stale pointer in GC. This type of a crash and the associated callstack usually means there's a problem with higher level code (game) referencing deleted actors. Most likely game specific error.

Description

This is a common crash affecting users in 4.16. Over 100 users have been affected, although they have not provided additional information.

Source Context

 469       					TokenStreamIndex++;
  470       					FGCReferenceInfo ReferenceInfo = TokenStream->AccessReferenceInfo(ReferenceTokenStreamIndex);
  471       
  472       					switch(ReferenceInfo.Type)
  473       					{
  474       					case GCRT_Object:
  475       					{
  476       						// We're dealing with an object reference.
  477       						UObject**	ObjectPtr = (UObject**)(StackEntryData + ReferenceInfo.Offset);
  478       						UObject*&	Object = *ObjectPtr;
  479       						TokenReturnCount = ReferenceInfo.ReturnCount;
  480 ***** 						ReferenceProcessor.HandleTokenStreamObjectReference(NewObjectsToSerialize, CurrentObject, Object, ReferenceTokenStreamIndex, true);
  481       					}
Steps to Reproduce

repro steps currently unknown

Callstack
Fatal error: [File:D:\Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp] [Line: 667] Invalid object in GC: 0x00000000000001e0, ReferencingObject: CharacterAttributesComponent /Game/Environment/Map/UEDPIE_0_Environment_Showcase_00.Environment_Showcase_00:PersistentLevel.KnightPawn_C_0.CharacterAttributes, ReferencingObjectClass: Class /Script/BeBrave.CharacterAttributesComponent, Property Name: StatPointAttribute, Offset: 624, TokenIndex: 12

UE4Editor_CoreUObject!TFastReferenceCollector<1,FGCReferenceProcessor<1>,FGCCollector<1>,FGCArrayPool,0>::ProcessObjectArray() [fastreferencecollector.h:481]
UE4Editor_CoreUObject!TFastReferenceCollector<1,FGCReferenceProcessor<1>,FGCCollector<1>,FGCArrayPool,0>::FCollectorTaskQueue::DoTask() [fastreferencecollector.h:167]
UE4Editor_CoreUObject!TGraphTask<TFastReferenceCollector<1,FGCReferenceProcessor<1>,FGCCollector<1>,FGCArrayPool,0>::FCollectorTaskProcessorTask>::ExecuteTask() [taskgraphinterfaces.h:883]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasks() [taskgraph.cpp:1277]
UE4Editor_Core!FTaskThreadAnyThread::ProcessTasksUntilQuit() [taskgraph.cpp:1171]
UE4Editor_Core!FTaskThreadBase::Run() [taskgraph.cpp:643]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

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

15
Login to Vote

Won't Fix
ComponentUE - Foundation - Core - UObject
Affects Versions4.164.174.184.194.204.214.224.23
CreatedJul 19, 2017
ResolvedJul 24, 2017
UpdatedOct 11, 2019
View Jira Issue