Generate a random in start and sync across network.
My problem is, I want to generate a random number in Start and sync it across network to be used as spawn position. I have seen that only one of the players should generate that number and others should use it. But the issue is, I have to spawn in Start so when one of the players can enter the condition with generates random, others don't. So the default value of interger is used for them. Any workaround will be appreciate.