Engine crashes when GameplayCameraDirector references an Actor using GetGameplayAttributeValue node

Summary

The engine crashes while saving GameplayCameraDirector asset if a GameplayCameraDirector Evaluator references an Actor Blueprint that contains a GetGameplayAttributeValue node.

What Type of Bug are you experiencing?

Foundation (C++ Tools, Profiling, & Pipeline)

Steps to Reproduce

  • Create an AttributeSet with at least one Gameplay Attribute
  • Add an AbilitySystemComponent to an Actor
  • In the Actor Blueprint, place a GetGameplayAttributeValue node and select the created Attribute
  • Create a BlueprintCameraDirector and an Evaluator class
  • In the Evaluator, use FindEvaluationContextOwnerActor and select the Actor containing the GetGameplayAttributeValue node
  • Save the assets

Expected Result

All assets are saved successfully without crashing

Observed Result

The editor crashes while saving the assets

Affects Versions

5.8

Platform(s)

Windows

Video

For crash reports, include your callstack

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 692]
Illegal call to StaticFindAllObjectsFast() while serializing object data or garbage collecting!

UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_BlueprintGraph
UnrealEditor_BlueprintGraph
UnrealEditor_BlueprintGraph
UnrealEditor_GameplayCameras
UnrealEditor_GameplayCameras
UnrealEditor_GameplayCameras
UnrealEditor_GameplayCameras
UnrealEditor_GameplayCameras
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Additional Notes

Reproduces 100% of the time