Skip to content

Instantly share code, notes, and snippets.

@RimuruDev
Last active February 13, 2024 07:50
Show Gist options
  • Save RimuruDev/eab589dc73c44b3dd8f7a43b38235274 to your computer and use it in GitHub Desktop.
Save RimuruDev/eab589dc73c44b3dd8f7a43b38235274 to your computer and use it in GitHub Desktop.
MissingReferenceException: The variable listIcons of HierarchyResources doesn't exist anymore. You probably need to reassign the listIcons variable of the 'HierarchyResources' script in the inspector. UnityEngine.Object.get_name () (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0) Hierarchy2.HierarchyResources+<>c.<GenerateKeyForAssets>b__2_0 (UnityEngi…
Error message:
MissingReferenceException: The variable listIcons of HierarchyResources doesn't exist anymore. You probably need to reassign the listIcons variable of the 'HierarchyResources' script in the inspector. UnityEngine.Object.get_name () (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0) Hierarchy2.HierarchyResources+<>c.<GenerateKeyForAssets>b__2_0 (UnityEngine.Texture2D texture2D) (at Assets/Plugins/Hierarchy 2/Editor/HierarchyResources.cs:17) System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.List`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <dab7f68612224ba3ae40f651d44f9d4c>:0) System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer`1[T] comparer) (at <dab7f68612224ba3ae40f651d44f9d4c>:0) System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) (at <dab7f68612224ba3ae40f651d44f9d4c>:0) Hierarchy2.HierarchyResources.GenerateKeyForAssets () (at Assets/Plugins/Hierarchy 2/Editor/HierarchyResources.cs:17) Hierarchy2.HierarchyEditor.EditorAwake () (at Assets/Plugins/Hierarchy 2/Editor/HierarchyEditor.cs:229) UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <fe7039efe678478d9c83e73bc6a6566d>:0)
Fixed version: https://github.com/RimuruDev/Unity-Editor-Hierarchy-2
If it helped, press star! ♥♥♥
@RimuruDev
Copy link
Author

Error message: MissingReferenceException: The variable listIcons of HierarchyResources doesn't exist anymore. You probably need to reassign the listIcons variable of the 'HierarchyResources' script in the inspector. UnityEngine.Object.get_name () (at <3b24cc7fa9794ed8ab04312c53e6dedd>:0) Hierarchy2.HierarchyResources+<>c.b__2_0 (UnityEngine.Texture2D texture2D) (at Assets/Plugins/Hierarchy 2/Editor/HierarchyResources.cs:17) System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.List1[T] source, System.Func2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer1[T] comparer) (at <dab7f68612224ba3ae40f651d44f9d4c>:0) System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Collections.Generic.IEqualityComparer1[T] comparer) (at :0) System.Linq.Enumerable.ToDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector) (at :0) Hierarchy2.HierarchyResources.GenerateKeyForAssets () (at Assets/Plugins/Hierarchy 2/Editor/HierarchyResources.cs:17) Hierarchy2.HierarchyEditor.EditorAwake () (at Assets/Plugins/Hierarchy 2/Editor/HierarchyEditor.cs:229) UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at :0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment