Search Issue Tracker
By Design
Votes
0
Found in [Package]
9.0.0-preview.9
Issue ID
1244420
Regression
No
[API] Setting exposed properties via script ignores the set min/max ranges.
Repro steps:
1. Import the attached project and open the ExposedPropertiesViaScript scene.
2. Select the VFX in the scene and observe in the inspector the exposed float, uint, and int.
3. Set the properties in the script attached to the VFX to a value outside of the range (over 99 for all or under 0 for the float and int)
4. Observe that the values are not clamped within the range.
Expected outcome:
The values to be set as a clamp(input, min, max).
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note:
We can integrate range in expression graph evaluation but so far it's only applied on UI by design.