Hello everyone !
I am making a procedural generated world. To do that, I am using FMath::RandRange(min, max). In the editor, every time I am playing, I get perfectly random numbers. But, when I package the game, it is always the numbers that are picked, and my game always look the same !
I think the problem is the seed of the number generator, but when I use srand(time(NULL)) I can’t compile or play the game in the editor !
This look like a bug from the engine so if you have any way to fix it, please, let me now !
Thank you !