OpenRA / ra2

A Red Alert 2 mod for the OpenRA game engine
GNU General Public License v3.0
973 stars 161 forks source link

Crash on moving a unit #761

Open tankorsmash opened 3 years ago

tankorsmash commented 3 years ago

I don't know exactly what I was doing when it crashed, but I was definitely pressing some combination of A, Shift, Ctrl and Caps Lock along with clicking when it happened. I was trying to get a unit to move. I thought I clicked on a unit but may have clicked off the map.

[2021-01-07T09:51:32] Game started
Exception of type `System.InvalidOperationException`: Nullable object must have a value.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at OpenRA.Mods.Common.Activities.Move.<TargetLineNodes>d__27.MoveNext()
   at OpenRA.Mods.Common.Traits.DrawLineToTarget.<OpenRA-Traits-IRenderAboveShroud-RenderAboveShroud>d__6.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at OpenRA.Graphics.WorldRenderer.PrepareRenderables()
   at OpenRA.Game.RenderTick()
   at OpenRA.Game.Loop()
   at OpenRA.Game.Run()
   at OpenRA.Game.InitializeAndRun(String[] args)
   at OpenRA.Program.Main(String[] args)

I don't know exactly what sort of info you need, so let me know. I was playing on Windows 10, using the Origin RA2 files.