Epic Developer Community Forums
Warning C4996: 'AActor::GetComponentsByClass': Use one of the GetComponents implementations as appropriate
Development
Programming & Scripting
C++
actor-component
,
unreal-engine
,
question
,
CPP
anonymous_user_929eef551
(anonymous_user_929eef55)
September 30, 2021, 3:09am
2
Try changing
TArray<UPrimitiveComponent*> Components;
To
TArray<UActorComponent*> Components;
show post in topic