Random enum bugged?

Hello, i am speechless due a weird bug while generating random for enum, i got three différent value by printing the same base value … !
The last print is at the out of the blueprint (from the enum list).
Anyone has an idea if i made something wrong or it’s a bug ?

323165-ue4-enum-bug-1.png

It’s not bugged.

Save the result of the random generation and then use it. If you access random nodes by execution, they get re-evaluated.


Atm, the random is generated 3 times:

  • Print
  • Add To Array
  • New Var 0

All three may end up with different values