Search Issue Tracker
Fixed
Fixed in 1.7.7
Votes
0
Found in [Package]
1.7.6
Issue ID
UVSB-2105
Regression
No
Unity.VisualScripting.ConversionUtility.TryConvert<T> always returns false
Unity.VisualScripting.ConversionUtility.TryConvert<T>, even in the success branch, returns false. The method never seems to be able to return true. Note: the non-generic version, TryConvert(object value, ...) behaves correctly.
*Steps to Reproduce:*
1. Create a new script
2. Add the following code (roughly)
{code:java}
[UnityEditor.MenuItem("")]
public static void Test() {
bool success = Unity.VisualScripting.ConversionUtility.TryConvert<int>(3, out int result, guaranteed: true);
Debug.Log($"Expected: 3, true - Was: {result}, {success}");
}
{code}
3. Run the test from the menu.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shadow is jittering when TAA is on, lens shift is enabled and the Camera is at least 800 units away from the origin
- VideoPlayer.loopPointReached invokes twice when WaitForFirstFrame is enabled
- Converting empty groups along with nodes into a subgraph prevents subgraph creation and throws errors
- Information box is pushed up when resizing the Visual Element located in the upper part of UI Document
- Transparent objects cannot receive shadows from Point Light when Rendering Path is set to "Deferred" and there is Spot Light in the Scene
Add comment