Skip to content

Editor ArgumentNullException on External Tools Window #34

Description

@Fireye04

When trying to click the External Tools window, the unity editor throws the following ArgumentNullException:

ArgumentNullException: Value cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) (at <1a795a29c7af4385b159eb69f68237b8>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) (at <1a795a29c7af4385b159eb69f68237b8>:0)
Unity.CodeEditor.CodeEditor.AddIfPathExists (System.String name, System.String path, System.Collections.Generic.Dictionary`2[TKey,TValue] list) (at /home/bokken/build/output/unity/unity/Editor/Mono/CodeEditor/CodeEditor.cs:163)
Unity.CodeEditor.CodeEditor.GetFoundScriptEditorPaths () (at /home/bokken/build/output/unity/unity/Editor/Mono/CodeEditor/CodeEditor.cs:155)
UnityEditor.PreferencesProvider.ReadPreferences () (at /home/bokken/build/output/unity/unity/Editor/Mono/PreferencesWindow/PreferencesSettingsProviders.cs:1292)
UnityEditor.PreferencesProvider.OnActivate (System.String searchContext, UnityEngine.UIElements.VisualElement rootElement) (at /home/bokken/build/output/unity/unity/Editor/Mono/PreferencesWindow/PreferencesSettingsProviders.cs:275)
UnityEditor.SettingsProvider.Activate (System.String searchContext, UnityEngine.UIElements.VisualElement rootElement) (at /home/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsProvider.cs:145)
UnityEditor.SettingsWindow.ProviderChanged (UnityEditor.SettingsProvider lastSelectedProvider, UnityEditor.SettingsProvider newlySelectedProvider) (at /home/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:358)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /home/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:224)

I'm running NixOS and made a simple derivation for the provided nvimunity.sh file, and it runs without error off my PATH. (as far as I'm aware)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions