Random Stream Initial Seed in GameMode changes everytime game start?

So here I tried to put default value for stream in GameMode, and printed it on screen

When I played game, initial seed changes for every time, and then I tested it outside GameMode and seed didn’t change for every time I play game. Is it bug? or just intended purpose?

There I put 0 as initial seed, but it showed

19506, 5087, 20586, etc etc everytime I started game

Hi Andi,

Thanks for report! This may be intentional, as Initial Seed value of Random Streams are reset for every instance of a BP in level, but GameMode doesn’t run on an instance in same way and may be resetting struct values at unusual times. I was unable to confirm if this is intentional, however, so I’ve written up a bug report (UE-18216). I’ll let you know when I get any feedback on it.

In meantime, a simple solution is to add a Set Random Stream Seed node after Begin Play node and before Print Node, and set that value as default Initial Seed:

Hope that helps!