Consistently strange RNG

I am using this to generate a random number between 0 and 99:

		Random.seed = (int)System.DateTime.Now.Ticks;
		int r = Random.Range(0,100);

However it is consistently producing very strange results. I am generating 25 objects that each seed and roll a number this way to determine a variable, and I am consistently seeing groups of 8-10 of the same result in a row or huge gaps where only one result occurs. Is there a better way to seed a number for Random?

You really shouldn’t have to seed the generator. The library handles that for you on start up, so maybe it has a problem with that (I would hope not!). Also, you may already know this, but the number returned will be 0-99, as it is always 1 less than max for integers. Could that be messing up your other calculations that use this number?

Oh never mind, looking more closely, you need to remove the seed. I’ll bet you are calling this method in the same frame multiple times which means you are seeding the generator with the same value every time, so you’ll always get the same random sequence.