Search Issue Tracker
Duplicate
Votes
0
Found in
5.6.0f3
Issue ID
915529
Regression
No
Mathf.PerlinNoise returns values outside the range 0 - 1
To reproduce:
1. Open attached Unity project "NoiseGen_2.zip"
2. Tools --> Noise Generator
3. Click Regen
4. Observe Console
Expected result: There should not be any logs in the console, because, according to the documentation, Mathf.PerlinNoise can only be in range of 0.0f to 1.0f (in some cases can slightly exceed 1.0f) and the script "NoiseGenerator.cs" script only prompts a message to the console if Mathf.PerlinNoise's value is less than 0
Actual result: Mathf.PerlinNoise sometimes gets a value of less than a zero which contradicts with the documentation
Reproduced on: 5.5.3p4, 5.6.1p1, 2017.1.0b7, 2017.2.0a1
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
- "Customize handled extensions" part in the External Tools settings tab is not aligned with other properties
- Editor Diagnostics foldouts do not open when clicked on the foldout title
- [UI Builder] Visual Elements are not placed at the mouse cursor position when Absolute Position Placement is enabled
- "Width" and "Height" text is misaligned with slider ends in Screen Match Mode Parameters section of Panel Settings Asset
- Editor does not quit when Editor is not in focus and any floating window is opened
This is a duplicate of issue #873181