#1 or #2
The function is not working but It works fine with inEditor Blueprint (Write operator==)
.h
TArray<FStruct> StructArray
.cpp
void Func(FStruct struct_2)
{
const uint32 Index = SturctArray.Find(struct_2); // Always Value = 0
if(StructArray[Index] == struct_2)
{
StructArray.RemoveAt(struct_2) // #1
StructArray.Remove(Index) // #2
}
}