Problem with packaging

Use a Random Integer In Range From Stream node instead, promote the stream to a variable and seed it at begin play, or before your loop.

These nodes:
(Just drag off from Stream and click promote to variable to create the stream variable.