Skip to content

ArgumentNullException when clicking the Run button when no Profile is selected in the Mod Manager #28

@pfroud

Description

@pfroud

With this mission string in the text editor:

1*Wires

When I click the Run button, nothing happens in the game, and this is added to the game log:

ERROR 2025-03-28 05:16:52,069 [Unity] Exception: ArgumentNullException: Argument cannot be null.
Parameter name: first
at: System.Linq.Check.FirstAndSecond (System.Object first, System.Object second)
System.Linq.Enumerable.Intersect[String] (IEnumerable1 first, IEnumerable1 second, IEqualityComparer1 comparer) System.Linq.Enumerable.Intersect[String] (IEnumerable1 first, IEnumerable`1 second)
ProfileManager.GetActiveDisableList (ModType modType)
ModSelectorService.m__D ()
APIProperties+Property.get_Value ()
APIProperties.get_Item (System.String key)
DynamicMissionGeneratorAssembly.MissionInputPage.ParseTextToMission (System.String text)
DynamicMissionGeneratorAssembly.MissionInputPage.RunInteract ()
ModSelectable.ProxyOnInteract ()
Selectable.HandleInteract ()
SelectableManager.HandleInteract ()
MouseControls.Interact ()
MouseControls.Update ()

Game version: 1.9.24
OS: Windows 10
Mod last updated: Feb 7, 2024 @ 1:20pm

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