How to overload operator == for (TArray)?

no way it can freez the engine, post your code, you are probably doing something wrong with the loop