Search Issue Tracker
Fixed in 2.1.7
Votes
0
Found in [Package]
2.1.6
Issue ID
1155434
Regression
No
Seeded UnityEngine.Random is not deterministic when there is an active Post Process layer in the scene
How to reproduce:
1. Open the attached project ("case_1155434-RNGPPVBugReport.zip")
2. Open the repro scene ("TestScene")
3. Enter play mode, press "R" and note down the numbers in the console
4. Repeat step 3 to confirm that the same numbers are generated each time
5. Activate Main Camera's Post Process Layer component
6. Enter play mode, Press "R" and note down the numbers in the console
Expected results: The same numbers are generated
Actual results: New set of numbers are generated each time, regardless of the given seed
Reproducible with: 2018.4.1f1, 2019.1.4f1, 2019.2.0b3, 2019.3.0a3
Couldn't test with 2017.4 because it does not support Post Processing package
Reproducible with package versions: 2.1.0, 2.1.6
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Resolution Note (fix version 2.1.7):
The calls to UnityEngine.Random have been replaced with an internal RNG so it won't have any side effects anymore.