Page 1 of 1

Crash in 20121019

Posted: Fri Oct 19, 2012 10:28 pm
by dn_
While playing Red Alert mod in OpenRA 20121019, it closed without warning, and exception.log contained the following:

Code: Select all

Exception of type `System.IndexOutOfRangeException`: Index was outside the bounds of the array.
   at OpenRA.Traits.Shroud.AddActor(Actor a)
   at OpenRA.Traits.Shroud.UpdateActor(Actor a)
   at OpenRA.Traits.RevealsShroud.Tick(Actor self)
   at OpenRA.World.<Tick>m__B8&#40;TraitPair`1 x&#41;
   at OpenRA.WorldUtils.<DoTimed>c__AnonStorey4E`1.<>m__105&#40;T x&#41;
   at OpenRA.Exts.Do&#91;T&#93;&#40;IEnumerable`1 e, Action`1 fn&#41;
   at OpenRA.WorldUtils.DoTimed&#91;T&#93;&#40;IEnumerable`1 e, Action`1 a, String text, Double time&#41;
   at OpenRA.World.Tick&#40;&#41;
   at OpenRA.Game.Tick&#40;OrderManager orderManager&#41;
   at OpenRA.Game.Tick&#40;OrderManager orderManager, Viewport viewPort&#41;
   at OpenRA.Game.Run&#40;&#41;
   at OpenRA.Program.Run&#40;String&#91;&#93; args&#41;
   at OpenRA.Program.Main&#40;String&#91;&#93; args&#41;
Anyone else having problems?

Edit: Posted to https://github.com/OpenRA/OpenRA/issues/2432

Posted: Fri Oct 19, 2012 10:42 pm
by ddd
Better post it on http://bugs.open-ra.org.

Posted: Fri Oct 19, 2012 10:43 pm
by zypres1
Runs well, but I got this:

Exception of type `System.InvalidOperationException`: Attempted to get trait from destroyed object (ctnk 541 (not in world))
at OpenRA.TraitDictionary.CheckDestroyed(Actor actor)
at OpenRA.TraitDictionary.Get[T](Actor actor)
at OpenRA.Actor.Trait[T]()
at OpenRA.Mods.RA.ChronoTankOrderGenerator.RenderBeforeWorld(WorldRenderer wr, World world)
at OpenRA.Graphics.WorldRenderer.Draw()
at OpenRA.Graphics.Viewport.DrawRegions(WorldRenderer wr, IInputHandler inputHandler)
at OpenRA.Game.Tick(OrderManager orderManager, Viewport viewPort)
at OpenRA.Game.Run()
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)

:-)

Posted: Fri Oct 19, 2012 10:46 pm
by dn_
Thanks ddd