Skip to content

Co-op crash when type-selecting a service depot #97

Description

@Niflthaena

While playing the co-op campaign map 32, with base sharing on, I accidentally pressed the "select all of type" hotkey on my ally's service depot instead of my airfields. The game instantly crashed. The exception log reports this:

OpenRA engine version ca-engine/1.08.1
ca mod version 1.08.1
on map a4ed0385f6dcd96af349c64ecc97f4bd02bfc1e5 (32: Convergence Co-op by Darkademic & Gandorques Hikla).
Date: 2026-02-12 02:05:09Z
Operating System: Windows (X64, Microsoft Windows NT 10.0.26100.0)
Runtime Version: .NET CLR 6.0.36
Installed Language: en (Installed) en (Current) en (Current UI)
Exception of type System.InvalidOperationException: Actor cooprep does not have trait of type OpenRA.Mods.Common.Traits.ISelectable
at OpenRA.TraitDictionary.TraitContainer1.Get(Actor actor) at OpenRA.Mods.Common.Widgets.Logic.Ingame.SelectUnitsByTypeHotkeyLogic.<>c.<OnHotkeyActivated>b__9_1(Actor a) at System.Linq.Enumerable.SelectListIterator2.MoveNext()
at System.Collections.Generic.HashSet1.UnionWith(IEnumerable1 other)
at System.Collections.Generic.HashSet1..ctor(IEnumerable1 collection, IEqualityComparer1 comparer) at OpenRA.Mods.Common.Widgets.Logic.Ingame.SelectUnitsByTypeHotkeyLogic.OnHotkeyActivated(KeyInput e) at OpenRA.Mods.Common.Widgets.Logic.SingleHotkeyBaseLogic.<>c__DisplayClass0_0.<.ctor>b__0(KeyInput e) at OpenRA.Mods.Common.Widgets.LogicKeyListenerWidget.HandleKeyPress(KeyInput e) at OpenRA.Widgets.Widget.HandleKeyPressOuter(KeyInput e) at OpenRA.Widgets.Widget.HandleKeyPressOuter(KeyInput e) at OpenRA.Widgets.Widget.HandleKeyPressOuter(KeyInput e) at OpenRA.DefaultInputHandler.<>c__DisplayClass3_0.<OnKeyInput>b__0() at OpenRA.Sync.RunUnsynced[T](Boolean checkSyncHash, World world, Func1 fn)
at OpenRA.DefaultInputHandler.OnKeyInput(KeyInput input)
at OpenRA.Platforms.Default.Sdl2Input.PumpInput(Sdl2PlatformWindow device, IInputHandler inputHandler, Nullable`1 lockedMousePosition)
at OpenRA.Platforms.Default.Sdl2PlatformWindow.PumpInput(IInputHandler inputHandler)
at OpenRA.Renderer.EndFrame(IInputHandler inputHandler)
at OpenRA.Game.RenderTick()
at OpenRA.Game.Loop()
at OpenRA.Game.Run()
at OpenRA.Game.InitializeAndRun(String[] args)
at OpenRA.WindowsLauncher.WindowsLauncher.RunGame(String[] args)

Edit to add: This also happens on my ally's refinery. Does not happen on ally's conyard, barracks, power plant, weapons factory, or silos. It does not appear to be mission-specific, as I could repro it on other co-op missions.

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