Search Issue Tracker

Fixed in 2022.3.14f1

Fixed in 2022.3.X, 2023.2.X, 2023.3.X, 2023.3.0a15

Votes

0

Found in

2022.3.11f1

2023.1.16f1

2023.2.0b13

2023.3.0a8

Issue ID

UUM-53146

Regression

Yes

Random.Range() returns predictable values when used in an URP project

Universal RP

-

Reproduction steps:
1. Open the attached project “ReproProj”
2. Open the “Bug” Scene
3. Rapidly enter and exit the Play Mode

Expected result: Generated numbers are random each time when the Play Mode is entered

Reproducible with: 2022.3.11f1, 2023.1.16f1, 2023.2.0b13, 2023.3.0a9
Not reproducible with: 2021.3.31f1

Reproducible on: macOS 13.6 (M1 Max), Windows 10

Add comment

Log in to post comment