Using Random.Range always returns the minimum on android 13

Random.Range always returns the minimum value on my new pixel 7 (android 13) but works fine on my old device LG G7 (android 10/11). I’ve done a simple test below on both devices and the pixel 7 always returns the minimum value

    Debug.Log(Random.Range(1, 20)); 
    Debug.Log(Random.Range(1, 20));
    Debug.Log(Random.Range(1, 20));

Sounds buggy but strange. You can always use System.Random.Next( ) as an alternative.

Random rnd = new Random();
int myRnd = rnd.next(1, 20);

Just add the system namespace…