Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentNullException in Autotarget #17409

Closed
abcdefg30 opened this issue Dec 1, 2019 · 0 comments · Fixed by #17415
Closed

ArgumentNullException in Autotarget #17409

abcdefg30 opened this issue Dec 1, 2019 · 0 comments · Fixed by #17415
Assignees
Labels

Comments

@abcdefg30
Copy link
Member

OpenRA engine version release-20191117
Red Alert mod version release-20191117
on map e8d035f4dad2c1ff0b036a3d1dcb29903addc82f (Ore Gardens (ERCC 1.2) by sith_wampa).
Date: 2019-12-01 16:15:21Z
Operating System: Windows (Microsoft Windows NT 6.2.9200.0)
Runtime Version: .NET CLR 4.0.30319.42000
Exception of type `System.ArgumentNullException`: Value cannot be null.
Parametername: key
   at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at OpenRA.Mods.Common.Traits.AutoTarget.<>c__DisplayClass24_0.<HasValidTargetPriority>b__0(AutoTargetPriorityInfo ati)
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at OpenRA.Mods.Common.Traits.AutoTarget.HasValidTargetPriority(Actor self, Player owner, BitSet`1 targetTypes)
   at OpenRA.Mods.Common.Activities.Attack.OpenRA.Mods.Common.Traits.IActivityNotifyStanceChanged.StanceChanged(Actor self, AutoTarget autoTarget, UnitStance oldStance, UnitStance newStance)
   at OpenRA.Mods.Common.Traits.AutoTarget.SetStance(Actor self, UnitStance value)
   at OpenRA.Mods.Common.Traits.AutoTarget.OpenRA.Traits.IResolveOrder.ResolveOrder(Actor self, Order order)
   at OpenRA.Network.UnitOrders.ProcessOrder(OrderManager orderManager, World world, Int32 clientId, Order order)
   at OpenRA.Network.OrderManager.Tick()
   at OpenRA.Game.InnerLogicTick(OrderManager orderManager)
   at OpenRA.Game.LogicTick()
   at OpenRA.Game.Loop()
   at OpenRA.Game.Run()
   at OpenRA.Game.InitializeAndRun(String[] args)
   at OpenRA.WindowsLauncher.RunGame(String[] args)

Replay:
AutotargetCrash.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants