Search Issue Tracker
Fixed
Fixed in 1.8.1
Votes
0
Found in [Package]
1.8.0
Issue ID
UVSB-2463
Regression
No
Error when trying to load exceptions for Try Catch node dropdown
h3. Reproduction steps:
# Open a script graph and create a Try Catch node.
# Click on the exception drop down
h3. Actual outcome:
The list of exceptions is not loaded and the drop down remains stuck loading.
!Screen Recording 2023-01-26 at 3.36.43 PM.gif!
The following error is logged:
{code:java}
TypeLoadException: Could not instantiate System.Collections.Generic.List`1[T] due to generic type cannot be instantiated with type 'typedbyref' assembly:<unknown assembly> type:<unknown type> member:(null)
System.RuntimeTypeHandle.CanCastTo (System.RuntimeType type, System.RuntimeType target) (at <4ba27aa039714eafa1e8892e51af2932>:0)
System.RuntimeType.IsAssignableFrom (System.Type c) (at <4ba27aa039714eafa1e8892e51af2932>:0)
Unity.VisualScripting.TypeFilter.ValidateType (System.Type type) (at Library/PackageCache/com.unity.visualscripting@1.8.0/Runtime/VisualScripting.Core/Reflection/TypeFilter.cs:283)
System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () (at <d4a4782d887f4ff88d2cb60936dda5c0>:0)
System.Collections.Generic.HashSet`1[T].UnionWith (System.Collections.Generic.IEnumerable`1[T] other) (at <d4a4782d887f4ff88d2cb60936dda5c0>:0)
System.Collections.Generic.HashSet`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <d4a4782d887f4ff88d2cb60936dda5c0>:0)
System.Collections.Generic.HashSet`1[T]..ctor (System.Collections.Generic.IEnumerable`1[T] collection) (at <d4a4782d887f4ff88d2cb60936dda5c0>:0)
Unity.VisualScripting.LinqUtility.ToHashSet[T] (System.Collections.Generic.IEnumerable`1[T] enumerable) (at Library/PackageCache/com.unity.visualscripting@1.8.0/Runtime/VisualScripting.Core/Utilities/LinqUtility.cs:39)
Unity.VisualScripting.TypeOptionTree.Prewarm () (at Library/PackageCache/com.unity.visualscripting@1.8.0/Editor/VisualScripting.Core/Reflection/TypeOptionTree.cs:55)
Unity.VisualScripting.FuzzyWindow+<>c__DisplayClass24_0.<Initialize>b__0 () (at Library/PackageCache/com.unity.visualscripting@1.8.0/Editor/VisualScripting.Core/Interface/Fuzzy/FuzzyWindow.cs:312)
Unity.VisualScripting.FuzzyWindow.Work () (at Library/PackageCache/com.unity.visualscripting@1.8.0/Editor/VisualScripting.Core/Interface/Fuzzy/FuzzyWindow.cs:1147)
UnityEngine.Debug:LogException(Exception)
Unity.VisualScripting.FuzzyWindow:Work() (at Library/PackageCache/com.unity.visualscripting@1.8.0/Editor/VisualScripting.Core/Interface/Fuzzy/FuzzyWindow.cs:1153)
System.Threading.ThreadHelper:ThreadStart(){code}
h3. Reproducible on:
VS 1.8.0, 1.7.x, 1.6.x on Unity Editor 2021.3.16f1
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
- [Linux] The mouse wheel input is inverted when scrolling in the Build
- TMP Input Field is moving Text and Caret UI positions for each new line when 'Auto Size' and 'Multi Line Newline' are used
- OnTriggerExit2D events are not triggered when disabling Collider, despite "Callbacks On Disable" being enabled
- [Android] [Vulkan] UI that is activated after a delay flickers when a Scriptable Render Pass goes over it
- [Linux] Characters are converted to Latin letters when using IME on Linux
Resolution Note (fix version 1.8.1):
Fixed in 1.9.1