Issues with operators all of a sudden

I feel like my operators might be bugged, but I tested the same logic in several other Unreal Engine versions and got identical results. I have no idea when or why this started happening, but the logic is clearly not returning the expected results.

For example, I’m using this very simple check to determine if a randomly generated number (0–100) is odd or even:

x % 2 > 0

Yet it’s reporting that some even numbers are odd, and some odd numbers are even.

classic case of the pure node meaning every call to RandomIntegar returns a different value, ie even if you had 2 prints strings you’d get 2 different results. solution is to save it to a variable first

wow I feel like an idiot

trust me we’ve all been there its a common trap :sweat_smile: