I am trying to create an Endless runner using Unreal Engine. I ran Into a very odd issue using the Random Integer generator.
So, I am using the Integer generator to generate obstacles in my game, using the same generator for generating obstacles in all three lanes randomly.
Using the same number generator, and generating same obstacle on different value in each lane, I was sure that each obstacle will be at different point.
But surprisingly i am running into an issue where there is an obstacle in all lanes at the same time. Logically this implies that at a particular instance the number generator is having 3 values!!!
Can somebody please explain me why is this happening?? or this is a bug in number generator?