realitycollective / realitytoolkit.dev

The development project for building the Reality Toolkit and its respective components
https://realitytoolkit.realitycollective.net/
MIT License
9 stars 0 forks source link

Toolkit Inspector stops working and throws exception #21

Closed FejZa closed 2 years ago

FejZa commented 2 years ago

Reality Collective - Reality Toolkit Bug Report

Describe the bug

The path finder throws an exception and the toolkit root inspector stops working. Only a Unity restart fixes it.

Stacktrace

System.Reflection.Assembly.GetTypes () (at <695d1cc93cca45069c528c15c9fdd749>:0)
XRTK.Editor.Utilities.PathFinderUtility+<>c.<get_GetAllPathFinders>b__4_0 (System.Reflection.Assembly assembly) (at Library/PackageCache/com.realitytoolkit.core@1.0.0-preview.2/Editor/Utilities/PathFinderUtility.cs:40)
System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].MoveNext () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].ToArray () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.OrderedEnumerable`1[TElement].ToList () (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) (at <351e49e2a5bf4fd6beabb458ce2255f3>:0)
XRTK.Editor.Utilities.PathFinderUtility.get_GetAllPathFinders () (at Library/PackageCache/com.realitytoolkit.core@1.0.0-preview.2/Editor/Utilities/PathFinderUtility.cs:39)
XRTK.Editor.Utilities.PathFinderUtility.ResolvePath (System.String finderPath) (at Library/PackageCache/com.realitytoolkit.core@1.0.0-preview.2/Editor/Utilities/PathFinderUtility.cs:51)
XRTK.Editor.Utilities.PathFinderUtility.get_XRTK_Core_RelativeFolderPath () (at Library/PackageCache/com.realitytoolkit.core@1.0.0-preview.2/Editor/Utilities/PathFinderUtility.cs:136)
XRTK.Editor.Utilities.MixedRealityInspectorUtility.get_DarkThemeLogo () (at Library/PackageCache/com.realitytoolkit.core@1.0.0-preview.2/Editor/Utilities/MixedRealityInspectorUtility.cs:121)
XRTK.Editor.Utilities.MixedRealityInspectorUtility.RenderMixedRealityToolkitLogo () (at Library/PackageCache/com.realitytoolkit.core@1.0.0-preview.2/Editor/Utilities/MixedRealityInspectorUtility.cs:154)
XRTK.Editor.MixedRealityToolkitInspector.OnInspectorGUI () (at Library/PackageCache/com.realitytoolkit.core@1.0.0-preview.2/Editor/MixedRealityToolkitInspector.cs:60)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <d4fb0f5bc2524ac39bb755624e6a18e7>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Your Setup

SimonDarksideJ commented 2 years ago

Resolved by Unity fix in 2021.3.11f1