Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.5.1-pre.3
Issue ID
UVSB-1256
Regression
No
[Visual Scripting] Values after two decimal points are displayed as zero at runtime when looking at the Visual Script Graph
Values after two decimal points are rounded off and displayed as zero at runtime when looking at the Visual Script Graph. As a user, it looks like the value after the calculation is coming as zero. Without debugging, it's hard to tell for precise values when checking the code logic.
Steps to Repro:
1. Open the attached project
2. Project window > Scenes > SampleScene
3. Window > Visual Scripting> Visual Scripting graph
4. Hierarchy > Select GameObject
5. Run Scene
6. Observe the value after division in Script Graph
Actual Result:
The value is displayed as zero
Expected Result:
The value is displayed correctly at least upto 4 decimal points
Reproducible on: 2021.2.0a3, 2021.1.0b5, 2021.1.0b1
Note: Visual Scripting was introduced in 2021.1.0b1
Package Version 1.5.1-pre.3
Environment:
Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Visual artifacts appear when the HD Dynamic Resolution Component changes the resolution scale
- Domain Reload loading popup is dark when Editor Theme is set to "Light"
- Scene Views breaks and errors are spammed in the Console when the Game view is shrunk vertically to the minimum, and the Aspect Ratio is 16:9 or 16:10
- Slider Fill Area disappears after undoing “Set Native Size” change
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
Add comment