Search Issue Tracker
By Design
Votes
0
Found in
2018.3.0a9
Issue ID
1074362
Regression
No
material.SetFloat(name, value) ignores min/max values of slider property
How to reproduce:
1. Open the "FloatMinMax Repro.zip" project
2. Open the "SampleScene.unity" scene
3. Press Play
4. Check the console for debug log
Actual result: material.SetFloat(name, value) ignores slider's min/max values in shader graph and sets float bigger than the max value.
Expected result: material.SetFloat(name, value) should set the value equal to the max value if the value is higher than the max value.
Reproducible with: 2018.3.0a11, 2018.2.6f1, 2018.1.9f2, 2018.1.0b5.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- Addressables Profiles and Analyze windows no minimum window size
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment