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
- Baked Lightmap ”View” button text is aligned incorrectly
- Lightmap Asset icon changes colours after Baked Lightmap Viewer window is opened
- VideoClipImporter preset not applied when applying Preset Selector on already imported video clips
- Frame Debugger gets disabled when any Editor window is maximised and minimised
- TextMeshPro InputField view is not updated when OnEndEdit is triggered
Add comment