Compare two variables.

You can either Break Struct:

Or split struct:

And then compare each field, do AND for all boolean results.
But if you have array inside it will be harder to make function.

There is hacky way in C++, but i am not sure how stable that would be:

  • get pointer and size to both structs.
  • make some crc32 sum of that memory
  • compare both checksums.

But that assumes unreal always generates same memory wise values for same structs. And i have sneaky feeling it happens in most cases but for some does not. Also since arrays in C++ are really lists, handling those would be another can of worms.

And you could do PURE function like this:

However this requires comparing two arrays (which should be separate function).

And resulting node:

1 Like