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
- Extended component titles exceed the window's display boundaries
- Light is not applied properly to Terrain Details when using Light Layers
- Opening reference for XR component redirects to a missing page
- [Android]Crash on PersistentManager::GlobalToLocalSerializedFileIndex(SerializedObjectIdentifier const&) when building the Android Player
- [Android] The Video Player stops playing at different points when Skip On Drop is enabled
This is a duplicate of issue #873181