Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.5.0a1
Issue ID
801286
Regression
Yes
Exception thrown when clicking the Gizmos button in the GameView window
Open any project and click the Gizmos button in the GameView window.
See exception in Console:
"ArgumentNullException: Argument cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary`2[System.Type,System.Type].TryGetValue (System.Type key, System.Type& value) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:588)
UnityEditor.CustomEditorAttributes.FindCustomEditorTypeByType (System.Type type, Boolean multiEdit) (at C:/clones/automation/Editor/Mono/CustomEditorAttributes.cs:45)
UnityEditor.AnnotationUtility:GetAnnotations()
UnityEditor.AnnotationWindow:SyncToState() (at C:/clones/automation/Editor/Mono/Annotation/AnnotationWindow.cs:229)
UnityEditor.AnnotationWindow:Init(Rect, Boolean) (at C:/clones/automation/Editor/Mono/Annotation/AnnotationWindow.cs:176)
UnityEditor.AnnotationWindow:ShowAtPosition(Rect, Boolean) (at C:/clones/automation/Editor/Mono/Annotation/AnnotationWindow.cs:159)
UnityEditor.GameView:DoToolbarGUI() (at C:/clones/automation/Editor/Mono/GameView/GameView.cs:479)
UnityEditor.GameView:OnGUI() (at C:/clones/automation/Editor/Mono/GameView/GameView.cs:569)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at C:/clones/automation/Editor/Mono/HostView.cs:188)
UnityEditor.HostView:Invoke(String) (at C:/clones/automation/Editor/Mono/HostView.cs:181)
UnityEditor.DockArea:OnGUI() (at C:/clones/automation/Editor/Mono/GUI/DockArea.cs:338)
"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment