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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
We can integrate range in expression graph evaluation but so far it's only applied on UI by design.