Random.Range doesnt work anymore

Hello guys,
i have a problem with Random.range. Until yesterday all works as expected but today no.
I always get the same number…
In the following script for example i always get 0.4072546

If i use this script in another project it works well but in my actual project no, so i think that could be a project setting…
Have you any idea?

using UnityEngine;

public class provaScript : MonoBehaviour {
  	void Update () {
        Debug.Log(Random.Range(0f, 1f));
    }
}

UPDATE

If i make a new scene inside the same project all works as expected

The only thing I can think of is that you somewhere, in some script, is setting the Random.Seed to the same value each frame. Could that be the case?

Hello @flagDiZero,

It works perfectly fine with me. What I would do is delete the script and create a new one with the exact same code. Let me know if it works or not.

@BGOKMEN14 I got exactly the same

try using Random.Range(0f, 5f)

![1]