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

Package: Visual Scripting

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.