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
- SerializeReference does not update references when the generic field type changes
- Memory leak when running tests in IL2CPP with System.Threading.Timer
- Tile Palette Tilemap dropdown icons are not visible
- Create New Tile Palette dropdown text is not centered and text is cut off
- Volume numeric fields allows adding unlimited number in numeric field which breaks UI, no character limit
This is a duplicate of issue #873181