Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.5.2
1.6.0
Issue ID
UVSB-1405
Regression
No
Comparing Not Equal on 2 exact int values return the wrong result.
Reproducible on:
- Visual Scripting version: 1.6, 1.5.2
- Unity version: 2021.1.0f1
Steps to Reproduce:
- Create a new game object
- Add to it a script machine with a script graph attached to it
- Create a simple graph using the Add Input and Not Equal node like the graph below
!NotEqual.JPG|thumbnail!
- Click to play
Outcome results:
- It seems that the Add Input node outputs a float, so when the user compares if Not Equal even if it's comparing exacts numbers will return true.
Expected Results:
- Add Input node should return the same type of the inputs being added, so when the user compares exact inputs the Not Equal node will return the proper results.
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
https://github.cds.internal.unity3d.com/unity/com.unity.visualscripting/pull/365