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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment