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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 1.8.1):
Fixed in 1.9.1